Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 imbibing at the Monastery: (7)
As of 2014-07-11 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (224 votes), past polls