ASA Programming Guide
The Open Client Interface
Using SQL in Open Client applications
You send SQL statements to a database by including them in Client Library function calls. For example, the following pair of calls executes a DELETE statement:
ret = ct_command(cmd, CS_LANG_CMD, "DELETE FROM employee WHERE emp_id=105" CS_NULLTERM, CS_UNUSED); ret = ct_send(cmd);
The ct_command
function is used for a wide range of purposes.