dbgettime

Returns the number of seconds that DB-Library waits for Microsoft® SQL Server™ to respond to a Transact-SQL statement.

Syntax

INT dbgettime ( void );

Returns

The time-out value is the number of seconds that DB-Library waits for a SQL Server response before timing out. A time-out value of 0, the default, represents an infinite time-out period.

Remarks

dbgettime returns the length of time, in seconds, that DB-Library waits for a SQL Server response during calls to dbsqlexec, dbsqlok, dbresults, and dbnextrow.

The program can call dbsettime to change the time-out value.

See Also
dbnextrow dbsqlexec
dbresults dbsqlok
dbsettime  

  


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