Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » MobiLink - 服务器启动的同步 » 服务器启动的同步系统过程

 

ml_set_sis_sync_state 系统过程

使用此系统过程将 MobiLink 同步状态记录到 ml_sis_sync_state 系统表中。

参数
参数 说明

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。

注释

在 publication_nonblocking_download_ack 事件中调用 ml_set_sis_sync_state 系统过程,以允许用户创建用于引用 ml_sis_sync_state 表的 request_cursor 事件。

对于 DB2 主机统一数据库,此过程称为 ml_set_sis_state。请参见IBM DB2 主机服务器启动的同步系统过程名的转换

另请参见
示例

使用以下脚本指定 publication_nonblocking_download_ack 事件脚本,以记录同步状态:

CALL ml_set_sis_sync_state( 
    {ml s.remote_id},
    NULL,
    {ml s.publication_name},
    {ml s.username},
    NULL,
    {ml s.last_publication_download} 
);