Contents Index example_upload_insert table event handle_error connection event

MobiLink Synchronization Reference
  Synchronization Events

example_upload_update table event


Function 

An example event for the upload stream to handle rows updated at the remote database. The example script is not called by MobiLink but is identical in form to the upload_update event.

Parameters 
Clause Parameters
SET column 1

column 2

...

WHERE primary key 1

primary key 2

...

Description 

You create an example_upload_update event script by using the option -za in the dbmlsync command line.

See also 

upload_update table event

SQL example 

This example handles updates made to the Customer table in the remote database. The script updates the values in a table named Customer in the consolidated database. Note: The script is never called and is only an example script.

UPDATE Customer
SET name=?, rep_id=?
WHERE cust_id=?

Contents Index example_upload_insert table event handle_error connection event