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

SAP Sybase SQL Anywhere 16.0 (中文) » SQL Anywhere 服务器 - 编程 » Sybase Open Client 支持 » Open Client 应用程序中的 SQL


Open Client SQL 语句执行

可通过将 SQL 语句放到 Client Library 函数调用中将其发送到数据库服务器。例如,下面的两个调用将执行 DELETE 语句:

ret = ct_command(cmd, CS_LANG_CMD,
                  "DELETE FROM Employees
                   WHERE EmployeeID=105"
ret = ct_send(cmd);