You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIK turbodbc does not allow to set a connection timeout.
In case someone wants to implement it though:
You can set SQL_ATTR_CONNECTION_TIMEOUT using SQLSetConnectionAttr.
An SQLUINTEGER value corresponding to the number of seconds to wait for any request on the connection to complete before returning to the application. The driver should return SQLSTATE HYT00 (Timeout expired) anytime that it is possible to time out in a situation not associated with query execution or login.
If ValuePtr is equal to 0 (the default), there is no timeout.
Is there any way to set a timeout parameter for connection object like pyodbc has.
OR
The text was updated successfully, but these errors were encountered: