Previous Topic

Next Topic

ctsqlGetTimeStamp

Retrieve the time stamp field.

Declaration

CTSQLRET ctsqlGetTimeStamp(pCTSQLCURSOR hCursor, INTEGER colnumber, SQLTIMESTAMP* buffer)

Description

ctsqlGetTimeStamp() retrieves the value of a time stamp field, given its cursor and column.

  • hCursor the cursor handle.
  • colnumber the column number.
  • buffer the buffer that will store the field data.

Return

ctsqlGetTimeStamp() returns CTSQLRET_OK on success.

Symbolic Constant

Explanation

SQL_ERR_BADARG

Bad arguments

See Also

ctsqlGetBytes(), ctsqlGetChar(), ctsqlGetNumeric(), ctsqlGetSmallInt(), ctsqlGetInteger(), ctsqlGetReal(), ctsqlGetFloat(), ctsqlGetDate(), ctsqlGetMoney(), ctsqlGetTime(), ctsqlGetTinyInt(), ctsqlGetBinary(), ctsqlGetBit(), ctsqlGetBigInt(), ctsqlGetBlob()