It's due to a trigger.   Unfortunately it looks very similar to the error I was 
getting on the trigger which recorded destructive DDL.  The corrected trigger code has 
been sent in another mail; a close cursor statment was placed incorrectly in the code. 
 Your statement is failing because the program is trying to close a cursor which was 
not opened.  The original mail did have warnings about the code not being thoroughly 
tested.   

Ian MacGregor
Stanford Linear Accelerator Center
[EMAIL PROTECTED]  

-----Original Message-----
Sent: Tuesday, June 12, 2001 3:05 PM
To: Multiple recipients of list ORACLE-L


Hi all,
 I am getting following error while running this statement?
 any ideas where is it coming from?

 1* ALTER TABLE  corp.service_cat_rq ADD (location_ind CHAR(1)  DEFAULT 'Y')
SQL> /
ALTER TABLE  corp.service_cat_rq ADD (location_ind CHAR(1)  DEFAULT 'Y')
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01001: invalid cursor
ORA-06512: at line 40

We are on 8.1.6.2. 64 bit on HP unix 11.0
Oracle8i Enterprise Edition Release 8.1.6.2.0, 64 bit - Producti
PL/SQL Release 8.1.6.2.0 - Production
CORE    8.1.6.0.0       Production
TNS for HPUX: Version 8.1.6.2.0 - Production
NLSRTL Version 3.4.0.0.0 - Production

Thanks for your help.
Sandesh
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Naik, Sandesh S
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: MacGregor, Ian A.
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to