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

SQL Anywhere 12.0.1 » SQL Anywhere サーバー プログラミング » Sybase Open Client のサポート » Open Client アプリケーションでの SQL

 

SQL 文の実行

SQL 文を Client Library 関数呼び出しに入れてデータベースサーバーに送ります。たとえば、次の一組の呼び出しは DELETE 文を実行します。

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