INF: How to Change the Sleep Value Used by Dbdataready (159234)
The information in this article applies to:
- Microsoft SQL Server 6.0
- Microsoft SQL Server 6.5
This article was previously published under Q159234 SUMMARY
Normal DB-Library asynchronous query processing is handled by calling first
dbsqlsend and then dbdataready in a loop until dbdataready returns TRUE. By
default, the dbdataready function will sleep for 250 ms.
In situations where you have written asynchronous query processing you may
not want the dbdataready call to sleep for 250 ms. For example, if you have
several queries that generally run in 50 ms, you could theoretically run
five of the same queries in the 250 ms time frame. There is a registry
setting to control the sleep duration for the client computer.
Modification Type: | Major | Last Reviewed: | 10/16/2003 |
---|
Keywords: | kbhowto kbusage KB159234 |
---|
|