Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Return values [Table of Contents] See also

Open Client Client-Library/C Reference Manual

[-] Chapter 3 Routines
[-] ct_dynamic
[-] Usage

Usage

Table 3-24 summarizes ct_dynamic usage.

Summary of ct_dynamic parameters

Value of type

Result

*id is

*buffer is

CS_CURSOR_DECLARE

Declares a cursor on a previously prepared SQL statement.

The prepared statement identifier.

The cursor name.

CS_DEALLOC

Deallocates a prepared SQL statement.

The prepared statement identifier.

NULL

CS_DESCRIBE_INPUT

Retrieves, from the server, a description of the input parameters required to execute a prepared statement. ct_results returns a CS_DESCRIBE_RESULT result_type value when the server has sent the description.

An application can access this information by calling ct_res_info and ct_describe, ct_dynsqlda