Forum Moderators: open

Message Too Old, No Replies

mysql cascades on update

         

jackvull

2:53 pm on Apr 28, 2006 (gmt 0)

10+ Year Member



Hi
I have a table that holds exchange rates. What I would like to happen is that if this table is updated, it automatically has an update cascade that updates 2 or 3 other tables and updates prices accordingly.
Is this possible in mysql?

jackvull

2:55 pm on Apr 28, 2006 (gmt 0)

10+ Year Member



i have mysql 4 so I'm not sure a trigger will work?

txbakers

10:09 pm on Apr 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



not in 4. Possible in 5.

In 4 you have to write the cascades yourself.