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 - 服务器管理 » MobiLink 事件 » 编写同步脚本 » 编写用于上载行的脚本

 

编写 upload_insert 脚本

在处理上载的过程中,MobiLink 服务器使用此事件来处理插入到远程数据库中的行。

下面是一个在 upload_insert 脚本中使用的 INSERT 语句。

INSERT INTO emp ( emp_id, emp_name )
VALUES ( { ml r.emp_id }, { ml r.emp_name } );
注意
  • upload_new_row_insert 和 upload_old_row_insert 事件接受 remote_id 和 user_name 作为附加参数。这些参数必须位于表格的整列列表之前。

另请参见