Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Class::DBI Intro

by dbwiz (Curate)
on Jul 30, 2003 at 12:16 UTC ( #279149=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    DELETE FROM page WHERE user_id = 1
    DELETE FROM user WHERE user_id = 1
    
  2. or download this
    DELETE FROM   page WHERE  page_id = '1'
    DELETE FROM   page WHERE  page_id = '2'
    ...
    DELETE FROM   page WHERE  page_id = '4'
    DELETE FROM   page WHERE  page_id = '5'
    DELETE FROM   user WHERE  user_id = '1'
    
  3. or download this
    FOREIGN KEY (user_id) references user (user_id) ON DELETE CASCADE,
    KEY user_id (user_id)
    # and replace "MyISAM" with "InnoDB" for both tables
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://279149]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-09-20 05:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (153 votes), past polls