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

SQL Anywhere 12.0.0 (中文) » MobiLink - 服务器管理 » 使用 MobiLink 服务器技术 » 同步技术 » 维护唯一主键

 

使用组合键

MobiLink 远程 ID 可唯一定义同步系统中的远程数据库。因此,创建唯一主键的一个简便方法就是创建一个组合主键,其中包含 MobiLink 远程 ID 作为其值的一部分。如果要维持唯一的 MobiLink 用户名,则应使用该用户名而不使用远程 ID。

请参见远程 ID