on 02-22-2018 1:41 AM
Customer widely uses HANA trigger for the purpose of tracking all the change records. Since we do not have the syntax like ‘alter trigger’ or ‘create or replace trigger’ on HANA, then how to insure there is no data lost during dropping and recreating the trigger.
The only way to ensure that no data changes happen while triggers are replaced is to prevent all data changes.
One way to do this could be locking the target table before dropping/re-creating the trigger. Personally, I think that this is the least invasive option and the one that allows for minimal disruption.
Other options could be
Not sure though, why the customer goes through the pain of logging all data changes when the same could be achieved via the auditing feature.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.