all groups > sql server odbc > july 2005 >
You're in the

sql server odbc

group:

Time Out Issue


Time Out Issue Travis
7/5/2005 7:30:01 PM
sql server odbc: Hi ,

I create a ODBC for SQL Server 2000 and use VB 6 to connect it. When I
pass it the sql query in vb and process the recordset , I am getting an error
"Microsoft ODBC SQL Server Driver Timeout expired". Where can I set the
time out in the ODBC ? TQ.

--
Re: Time Out Issue Scot T Brennecke
7/6/2005 9:30:25 AM
There is an ODBC API function called SQLSetStmtOption. Call it with option 0, which is
SQL_QUERY_TIMEOUT.

[quoted text, click to view]

Re: Time Out Issue Pat
9/14/2005 12:39:09 PM
How can you call the API from within a stored procedure or from Visual Studio
2003.


[quoted text, click to view]
AddThis Social Bookmark Button