Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: how to specify timeout in connectionstring????????
On 26 Jul 2005 10:16:31 -0700, "db" <deepakbadki_at_rediffmail.com> wrote:
>In sql, we can specify timeout attribute in connection string. In the
>similar way , does oracle allow to specify timeour parameter in
>connection string?.........If yes then plse let me know the connection
>string with timeout attribute.
Not as far as I'm aware, but you may want to look at SQLNET.INBOUND_CONNECT_TIMEOUT in sqlnet.ora.
http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14213/sqlnet.htm#sthref481
Or at the OCI level, you could presumably use OCIBreak in a SIGALRM handler.
-- Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk> <http://www.andyhsoftware.co.uk/space> Space: disk usage analysis toolReceived on Tue Jul 26 2005 - 14:07:16 CDT