Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Class::DBI Intro

by dbwiz (Curate)
on Jul 30, 2003 at 12:16 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://279149]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-19 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found