dbtsnewlen

Returns the length of the new value of the timestamp column after a browse-mode update.

Syntax

INT dbtsnewlen ( PDBPROCESS dbproc );

Arguments
dbproc
Is the DBPROCESS structure that is the handle for a particular workstation/ Microsoft® SQL Server™ process. It contains all the information that DB-Library uses to manage communications and data between the workstation and SQL Server.
Returns

The length, in bytes, of the new timestamp value for the updated row. If no timestamp was returned to the application, the function returns -1.

Remarks

dbtsnewlen is one of the DB-Library browse-mode functions. For a detailed discussion of browse mode, see Browse Mode in Programming with DB-Library for C.

dbtsnewlen provides information about the timestamp column. dbtsnewlen allows the application to save the length of the new timestamp value, possibly for use with dbtsput.

See Also
dbcolbrowse dbtabcount
dbcolsource dbtabname
dbqual dbtsput
dbtabbrowse  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.