MySQL Forums
Forum List  »  Triggers

Re: Triggers Control
Posted by: Roland Bouman
Date: August 09, 2005 01:27PM

Instead of using triggers, I'd try the following first:

1) create one table that has all the columns needed by all applications
2) load the data from the existing tables into the new table
3) drop the old tables
4) create updatable views for each old table.

The views would have the name of the old table. For each view, make sure the columnnames (and positions, some applications rely on positional information) are exactly similar to the table it substitutes.

This way, you won't touch any of the applications, and there's no synchronization issue at all.

Options: ReplyQuote


Subject
Views
Written By
Posted
4244
August 09, 2005 06:36AM
2342
August 09, 2005 09:37AM
2423
August 09, 2005 09:56AM
2351
August 09, 2005 01:08PM
2340
August 09, 2005 01:14PM
2364
August 09, 2005 01:16PM
2426
August 09, 2005 01:20PM
Re: Triggers Control
2574
August 09, 2005 01:27PM
2328
August 09, 2005 01:40PM
2427
August 09, 2005 01:49PM
2482
August 09, 2005 01:58PM
2931
August 09, 2005 02:45PM
2430
August 10, 2005 02:13AM
2344
August 09, 2005 03:09PM
2380
August 09, 2005 07:44PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.