The ifx_rc_typespec() function

The ifx_rc_typespec() function returns the type specification for a row or collection.

Syntax

ifx_rc_typespec(typespec, rchandle, flag)

Arguments

The function accepts the following arguments.
Argument Type Use Description
typespec SQL_CHAR Output Type specification. The format for this value is the same as the type specification syntax for ifx_rc_create().
rchandle HINFX_RC Input Handle for a row or collection buffer
flag SQL_SMALLINT Input Flag that specifies whether to return the current or original type specification. If this value is TRUE, the function returns the original type specification. Otherwise, the function returns the current type specification.

Usage

The ifx_rc_typespec() function returns the type specification for a row or collection.