Use this system procedure to record the MobiLink synchronization state into the ml_sis_sync_state system table.
Item | Parameter | Description |
---|---|---|
1 |
remote_id |
VARCHAR(128) |
2 |
subscription_id |
VARCHAR(255) |
3 |
publication_name |
VARCHAR(128) |
4 |
user_name |
VARCHAR(128) |
5 |
last_upload |
TIMESTAMP |
6 |
last_download |
TIMESTAMP |
Call the ml_set_sis_sync_state system procedure in the publication_nonblocking_download_ack event to allow users to create a request_cursor event that references the ml_sis_sync_state table.
Specify a publication_nonblocking_download_ack event script with the following script to record the synchronization state:
CALL ml_set_sis_sync_state( {ml s.remote_id}, NULL, {ml s.publication_name}, {ml s.username}, NULL, {ml s.last_publication_download} ); |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |