PDA

View Full Version : MySql Triggers and Foreign Keys


live_4_me
08-27-2004, 05:17 PM
Hello! I would like to know if MySql supports triggers. I would also like to know if i can cascade updates and deletes on foreign keys. Please supply me with a sample code to create triggers if they exist and for cascading deletes and updates if any. Thank you very much.

raf
08-27-2004, 06:12 PM
Welcome here!

i see no point i rewriting the manual so ...
http://dev.mysql.com/doc/mysql/en/ANSI_diff_Triggers.html
http://dev.mysql.com/doc/mysql/en/ANSI_diff_Foreign_Keys.html

live_4_me
08-27-2004, 07:05 PM
Thank you!