SQL_GetData()

Examples


The SQL_GetData() function returns the data in the specified column in the current row of the current results set for the specified pass-through SQL connection.

Syntax

SQL_GetData(SQL_connection, column, data)

Parameters

SQL_connection – A long integer specifying the pass-through SQL connection to use.

column – A long integer specifying the column in the current results set from which data will be returned. The value 1 indicates the first column.

data – The data returned. The storage type of this variable or field must be compatible with the value returned. When possible, the value returned will be converted to the storage type of the variable or field.

Return value

A long integer indicating the status of the retrieval operation. The value 0 indicates data was successfully retrieved. Any other value indicates an error occurred.


Documentation Feedback