Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> OCI time out !

OCI time out !

From: Oscar <oscar_ll_at_jofre.com>
Date: Tue, 17 Sep 2002 10:11:42 +0200
Message-ID: <am6nts$go2$1@nsnmrro2-gest.nuria.telefonica-data.net>


How to determine the time out when a tabla is locked ? I have something like this, but what about if i make a select for update and another one have make the same I got with a lock undetermitated ? I mean i would like to get lockd for 30 secons after that get a code of error because tha table is lockd ....

if (olog(&lda, hda, sz, -1, szu, -1, szt,-1, (ub4) OCI_LM_DEF)) { printf ("No se puede establecer conexion con Base de Datos %s\n", sz); exit(1);
}

>> OOPENS, opens the specified cursor.

if (oopen(&cda, &lda, (text *) 0, -1, -1, (text *) 0, -1)) { printf ("No se ha podido crear el cursor para acceder al diccionario\n");
exit(1);
}

                 thanks ! Oscar
Received on Tue Sep 17 2002 - 03:11:42 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US