Returns the value of the text timestamp for a column in the current row.
LPCDBBINARY dbtxtimestamp (
PDBPROCESS dbproc,
INT column );
A DBBINARY pointer to the text timestamp for the column. This pointer can be NULL when the text or image value is null, or when there is no current row.
Caution Do not modify this identifier in any way. Modifying the identifier can cause unpredictable results.
Every database column of type SQLTEXT or SQLIMAGE has an associated text timestamp, which marks the time of the column’s last modification. Use the text timestamp with dbwritetext to ensure that one user doesn’t inadvertently overwrite another’s modifications to the same value in the database. The text timestamp is returned to the DBPROCESS when a Transact-SQL SELECT statement is performed on a SQLTEXT or SQLIMAGE column.
The length of a non-NULL text timestamp is always DBTXTSLEN (currently defined as eight bytes). Call dbtxtimestamp only after dbnextrow or dbgetrow has returned REG_ROW.
dbreadtext | dbwritetext |