Using Array Binding

An application indicates array binding when it calls ct_bind, by setting the count field of the CS_DATAFMT structure parameter to a value greater than 1.

The count must be the same for all columns in a result set. (Exception: count values of 0 and 1 are considered to be equivalent. Both of these values cause ct_fetch to fetch a single row.)

Array binding is only practical for regular row and cursor row result sets, because only these types of result sets can have multiple rows.