An application can send several types of commands to a server:
An application calls ct_command to initiate a language, message, package, remote procedure call (RPC), or send-data command.
An application calls ct_cursor to initiate a cursor command.
An application calls ct_dynamic to initiate a dynamic SQL command.