Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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?
[hippo]: See also Getting Started with Perl for some gentle introductory tutorials.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2018-02-21 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (276 votes). Check out past polls.

    Notices?