Adaptive Server Enterprise 的命令参考
设置 SQL Remote 选项。
sp_remote_option option_name,
option_value
| 参数 | 说明 |
|---|---|
| option_name | SQL Remote 选项之一的名称 |
| option_value | 为选项设置的值。 |
SQL Remote 选项提供对复制行为的控制。在 Adaptive Server Enterprise 中,以下选项可用:
| 选项 | 值 | 缺省值 |
|---|---|---|
| Blob_threshold | 整数,单位为 K | 256 |
| Compression | -1 到 9 | 6 |
| Delete_old_logs | ON、OFF | OFF |
| Qualify_owners | ON、OFF | ON |
| Quote_all_identifiers | ON、OFF | OFF |
| Replication_error | 过程名 | NULL |
| SR_Date_Format | 时间字符串 | hh:mm:ss.Ssssss |
| SR_Time_Format | 日期字符串 | yyyy/mm/dd |
| SR_Timestamp_Format | 时间戳字符串 | yyyy/mm/dd hh:nn:ss.Ssssss |
| Subscribe_by_remote | ON、OFF | ON |
| Verify_threshold | integer | 256 |
| Verify_all_columns | ON、OFF | OFF |
有关这些选项的完整说明,请参见 SQL Remote 选项。
下面的语句将 Verify_all_columns 选项设置为 OFF,以便不为所有列自动检查由消息代理应用的 update 语句的旧值。
sp_remote_option Verify_all_columns, OFF go
SQL Anywhere Studio 9.0.2
版权所有 © 1989–2005 Sybase, Inc. 部分版权所有 © 2001–2005 iAnywhere Solutions, Inc. 保留所有权利。