ctsqlGetBinary
Retrieve the binary field.
Declaration
CTSQLRET ctsqlGetBinary(pCTSQLCURSOR hCursor, INTEGER colnumber, BINARY* buffer)
Description
ctsqlGetBinary() retrieves the value of a binary field, given its cursor and column. A binary field is an array of bytes.
Return
ctsqlGetBinary() returns CTSQLRET_OK on success.
Symbolic Constant |
Explanation |
SQL_ERR_BADARG |
Bad arguments |
Note:
DSQL no longer allows using ctsqlGetChar() to retrieve long variable columns.
See Also
ctsqlGetBytes(), ctsqlGetNChar(), ctsqlGetNumeric(), ctsqlGetSmallInt(), ctsqlGetInteger(), ctsqlGetReal(), ctsqlGetFloat(), ctsqlGetDate(), ctsqlGetMoney(), ctsqlGetTime(), ctsqlGetTimeStamp(), ctsqlGetTinyInt(), ctsqlGetBit(), ctsqlGetBigInt(), ctsqlGetBlob()