hc_pstmt_create
Createsan hc_pstmt_t” on page 49 for use with the hc_pstmt_query_ez” on page 109
function.
Synopsis
hcerr_t hc_pstmt_create(hc_session_t *session,
hc_string_t query,
hc_pstmt_t **ptr);
Description
Thisfunction creates a prepared statement for use with the hc_pstmt_query_ez” on page 109
function.
Parameters
session
IN:session thatthis query will be used with.
query
IN:Query (where clausewith ”?’ for values).
ptr
OUT:Updated to point to opaque hc_pstmt_t” on page 49.
ReturnCodes
HCERR_OK
HCERR_OOM
SeeAlso
hc_pstmt_query_ez”on page 109
SynchronousCAPI Functions
SunStorageTek5800 System Client API Reference Manual June 2008100