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

SQL Anywhere 12.0.1 » MobiLink - 客户端管理 » 用于 MobiLink 的 SQL Anywhere 客户端 » 脚本式上载 » 脚本式上载的存储过程

 

更新存储过程

更新存储过程必须返回包含以下两组值的结果集:

  • 第一组值指定更新的前映像(上次从 MobiLink 服务器接收或成功上载到 MobiLink 服务器时行中的值)。

  • 第二组值指定更新的后映像(统一数据库中行应更新为的目标值)。

这意味着,更新存储过程返回的结果集所包含的列数必定是插入或删除存储过程所包含列数的两倍。

 示例