Rickey, Kyle W wrote:
>
> Is it possible to change the default timeout for an odbc connection? 
> For instance:
>
>  
>
> import odbc
>
>  
>
> conn = odbc.odbc(DBNAME)
>
>  
>
> It seems to timeout ~15 seconds. But the above method only takes 1 
> argument. Is it possible to set a timeout in the connection string?
>

You can add "Connect Timeout=120;" to your connection string.

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to