on 2014 Nov 21 9:29 AM
I have some business logic I need to apply at the remote base when synchronization is complete.
How can I set this script to run (from file or as a stored procedure as an example) after each successful synchronization ?
Take a look at the sp_hook_dbmlsync_end
stored proc which is executed at the end of each sync.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You will also want to check the #hook_dict temporary table for the 'exit code' and 'upload status' synchronization results and perform logic on those values:
e.g.
IF EXISTS (SELECT 1 FROM #hook_dict WHERE name = 'exit code' and value = '0') THEN
...
END IF;
User | Count |
---|---|
68 | |
10 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.