Returns the number of seconds that DB-Library waits for Microsoft® SQL Server™ to respond to a Transact-SQL statement.
INT dbgettime ( void );
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.
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.