dbTalk Databases Forums  

setting query timeout in common ODBC drivers for Oracle

comp.database.oracle comp.database.oracle


Discuss setting query timeout in common ODBC drivers for Oracle in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AK
 
Posts: n/a

Default setting query timeout in common ODBC drivers for Oracle - 09-08-2004 , 05:57 AM






Hi,

Our application uses an Oracle 9i database as the backend. We
currently use native OCI interface to the backend, but are about to
move to an ODBC interface instead, and are exploring some third-party
Oracle ODBC drivers such as easysoft(www.easysoft.com) and datadirect
(www.datadirect.com). Also, as part of our application, we wish to set
database query timeouts so that database latency can be controlled. We
have heard of the SQL_ATTR_QUERY_TIMEOUT parameter of the
SQLSetStmtAttr function, but are not able to find out whether the
above mentioned ODBC drivers supportthis parameter or not. Does anyone
onthis list have any idea about this, or any other ODBC implementation
that supports this parameter? Or is there some other mechanism by
which an application using ODBC can control the query execution time?

Any pointers will be highly appreciated.

TIA,
Aparna.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.