Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
可以使用 Sybase Central 检查统一数据库中的同步脚本。
通过调用 ml_add_connection_script 或 ml_add_table_script,custdb.sql 文件会将每个同步脚本都添加到统一数据库中。
custdb.sql 中的以下代码行将为 ULProduct 表添加一个表级别的脚本,该脚本将在发生 download_cursor 事件期间执行。该脚本包含一个 SELECT 语句。
call ml_server.ml_add_table_script( 'CustDB 16.0', 'ULProduct', 'download_cursor', 'SELECT prod_id, price, prod_name FROM ULProduct' ) go