ODBC SQL_ATTR_QUERY_TIMEOUT Attribute Does Not Works As Expected

(Doc ID 2335614.1)

Last updated on DECEMBER 08, 2017

Applies to:

Oracle ODBC Driver - Version 12.1.0.2 and later
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)

Symptoms

SQL_ATTR_QUERY_TIMEOUT attribute is used to limit/locks the transaction for the specified amount of time. This attribute works as expected if the value set to 1000sec or lesser.

But when it set to higher than 1000sec, it does not timeout.

Code Sample:

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms