Binds a buffer to a set of column markers.
SQLRETURN SQLBindColumnDA( SQLHSTMT StatementHandle, SQLSMALLINT* TargetTypes, SQLSMALLINT* Precisions, SQLSMALLINT* Scales, SQLPOINTER* TargetValuePtrs, SQLLEN* BufferLengths, SQLLEN** StrLens_or_Inds, SQLUSMALLINT Columns)
StatementHandle
[Input] Statement handle.
TargetTypes
[Input] The C types of TargetValuePtrs. A copy of the array is made. The only way to update the C type of a column is to call this function again.
Precisions
[Deferred Input] The precision to use for this column buffer.
Scales
[Deferred Input] The scale to use for this column buffer.
TargetValuePtrs
[Deferred Input/Output] Pointers to the data buffers to bind to the columns. The elements of the array must be non-NULL.
BufferLengths
[Deferred Input] Length of the TargetValuePtrs buffers in bytes.
StrLens_or_Inds
[Deferred Input/Output] Pointer to the length/indicator buffers to bind to the columns.
Columns
[Input] The number of columns bound.