List:General Discussion« Previous MessageNext Message »
From:David Blomstrom Date:May 13 2004 7:32am
Subject:Re: From the top! (primary/foreign keys)
View as plain text  
One more thing, though...

I don't understand this restrict and cascade function.
I looked for it when I created my table, but didn't
see any mention of it. If I understand MySQL's
documentation, I don't need to worry about it, because
it's created by default every time you create a
foreign key. Is that right?

> >  FOREIGN KEY (CCODE) REFERENCES Continent(CCODE)
> >    ON DELETE RESTRICT
> >    ON UPDATE CASCADE)
> >  TYPE = InnoDB;


	
		
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861 
Thread
From the top! (primary/foreign keys)David Blomstrom13 May
  • Re: From the top! (primary/foreign keys)Ligaya Turmelle13 May
    • Re: From the top! (primary/foreign keys)David Blomstrom13 May
    • Re: From the top! (primary/foreign keys)David Blomstrom13 May