KI_BOUND_PARAM

Return sym of variable bound to a parameter in a query

Synopsis:
CALL KI_BOUND_PARAM handle, col TO bound_var, status
status = 'ki_bound_param( handle, col )
ArgumentEnumerationPurpose
handlePrepared query handle
colColumn number
bound_varVariable that is bound
statusKDB_ERROR_ENUMReturn status
>KI_BOUND_PARAM

KI_BOUND_PARAM

This function is used to find a variable in a program that is bound to a parameter in an SQL statement associated with the handle handle. Parameters are numbered from 1 in the order they occur in the SQL.

CALL KI_BOUND_PARAM handle, 1 TO sym, status

See also:

KI_BIND_PARAM
History
Introduced in KCML 6.60
See Also:
KI_BIND_COL, KI_BIND_PARAM, KI_BOUND_COL, KI_COLUMNS, KI_DATABASES, KI_DEFAULT_ROW, KI_DESCRIBE_COL, KI_ERROR, KI_ERROR_TEXT, KI_EXECUTE, KI_FETCH, KI_GET_COL_LIST, KI_GET_ERROR_TEXT, KI_PARTITIONS, KI_PREFETCH_ROWS, KI_PREPARE, KI_SESSIONS, KI_SET_COL_LIST, KI_SQL, KI_SQL_XML, KI_TABLES, KI_TABLESPACES
KCML database status codes