Query/SQL command timeout
651664Jul 23 2008 — edited Aug 12 2008Greetings,
I am writing an interface to a product using OCI API's. I have a question about designing this interface.
If we are able to successfully establish connection with Oracle databae and
the query takes long time to execute/OCIStmtExecute(), is there any way to timeout the query and return ?
Can we set a timeout parameter using OCI API's or Oracle instant client configuration files ?
Earlier posts in the forums reveals that there may be no such parameter. I believe this is a fairly common problem and there must be some solution for this or do I need to install any oracle patch ?
Best Regards
Murthy