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

Home -> Community -> Usenet -> c.d.o.server -> open cursors problem in trigger

open cursors problem in trigger

From: wfhui <wfhui_at_hotmail.com>
Date: Mon, 11 Mar 2002 17:10:03 -0800
Message-ID: <1ucj8.190$8Y5.1073@news.bc.tac.net>


Hi guys,
We're using OCI to connect Oracle database (Oracle 8.1.7 on Solaris/Linux), everything seems fine except open cursors while we use triggers. What we do just pass call OCIStmtExecute with a SQL statement, for example "BEGIN INSERT ... INTO table;END;COMMIT;" and trigger will generate an audit table for it. Technically all cursors should be closed after this transaction, but while I "SELECT count(*) from v$open_cursor;" I found it always increases, and eventually I will get an open cursors exceeds error. Do you guys have any idea about that ?
Thanks very much.
Hugo Received on Mon Mar 11 2002 - 19:10:03 CST

Original text of this message

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