Contents Index sp_hook_dbmlsync_download_table_begin sp_hook_dbmlsync_end

MobiLink Synchronization Reference
  Stored Procedures
    Client event-hook procedures

sp_hook_dbmlsync_download_table_end


Function 

Use this stored procedure to add custom actions immediately after each table is downloaded.

Rows in #hook_dict table  
Name Values Description
table name (in) table name The table to which operations have just been applied.
delete count (in) number of rows The number of rows in this table deleted by the download stream.
upsert count (in) number of rows The number of rows in this table updated or inserted by the download stream.
publication_n (in) publication name The publications being synchronized, where n is an integer. There is one publication_n entry for each publication being uploaded.
MobiLink user (in) MobiLink user name The MobiLink user for which you are synchronizing.
script version (in) script version name The MobiLink script version to be used for the synchronization.
Description 

If a procedure of this name exists, it is called immediately after all operations in the download stream for a table have been applied.

Actions of this procedure are committed or rolled back when the download stream is committed or rolled back.

See also 

Synchronization event hook sequence


Contents Index sp_hook_dbmlsync_download_table_begin sp_hook_dbmlsync_end