Strange errors ORA-00604 ORA-30511 ORA-06512
Hello, any clues about what could casuse this error? It is Oracle 11.2.0.1
SQL> drop user config cascade;
drop user config cascade
ERROR en linea 1:
ORA-00604: se ha producido un error a nivel 1 de SQL recursivo
ORA-30511: operacion DDL no valida en los disparadores del sistema
ORA-06512: en linea 993
ORA-30511: operacion DDL no valida en los disparadores del sistemaIf I try to drop a table I get the same error. Never seen that before... Any clues?
DBA-ES wrote:
Hello, any clues about what could casuse this error? It is Oracle 11.2.0.1
SQL> drop user config cascade;
drop user config cascade
ERROR en linea 1:
ORA-00604: se ha producido un error a nivel 1 de SQL recursivo
ORA-30511: operacion DDL no valida en los disparadores del sistema
ORA-06512: en linea 993
ORA-30511: operacion DDL no valida en los disparadores del sistemaIf I try to drop a table I get the same error. Never seen that before... Any clues?
30511, 00000, "invalid DDL operation in system triggers"
// *Cause: An attempt was made to perform an invalid DDL operation
// in a system trigger. Most DDL operations currently are not
// supported in system triggers. The only currently supported DDL
// operations are table operations and ALTER?COMPILE operations.
// *Action: Remove invalid DDL operations in system triggers.
Similar Messages
-
Getting ORA-00604 along with ORA-06502
Hi,
I am running following query in my database server (for JD enterprise One Application)
CREATE TABLE TMPLDTA.F0031 (AVUKID NUMBER, AVAN8BK NUMBER, AVUPMJ NUMBER(6), AVU
PMT NUMBER, AVPID NCHAR(10), AVUSER NCHAR(10), AVJOBN NCHAR(10)) tablespace tmpl
dtat storage ( pctincrease 0 )
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at line 7
when I do it from another id(my id with DBA role) it works but when I(application administrator) do it from application superuser's id, it throws above error.
*** application super user is also having DBA access.
Is it any issue regarding trigger?? Or can anyone Please help me regarding this error's solution..
-ThanksElapsed: 00:00:00.34
SQL> CREATE TABLE TMPLDTA_F0031
2 (
3 AVUKID NUMBER ,
4 AVAN8BK NUMBER ,
5 AVUPMJ NUMBER(6) ,
6 AVUPMT NUMBER ,
7 AVPID NCHAR(10) ,
8 AVUSER NCHAR(10) ,
9 AVJOBN NCHAR(10)
10 )
11 TABLESPACE tmpldtat STORAGE
12 (
13 PCTINCREASE 0
14 )
15 /
Table created.
Elapsed: 00:00:00.28No error , Are you running this on SQL Plus ?
saha wrote:
Is it any issue regarding trigger?? Or can anyone Please help me regarding this error's solution..
-ThanksPlease check any DB level trigger are there ?
-RB -
Dear All,
I created one table like
create table cls_lrn_tab_unique (F_no number unique UK_F_NO );
after performing some operations I want to delete the same.
At that time i got following error. Please help me and tell what is the reason for the error.
ORA-00604 error occured at recursive level1
ORA-20123 Insufficient privileges: you cannot drop table cls_lrn_tab_unique TABLE,
ORA-06512 at line no 2
Thanks and Regards
Prasad26bffcad-f9a2-4dcf-afa0-e1e33d0281bf wrote:
Dear All,
I created one table like
create table cls_lrn_tab_unique (F_no number unique UK_F_NO );
after performing some operations I want to delete the same.
At that time i got following error. Please help me and tell what is the reason for the error.
ORA-00604 error occured at recursive level1
ORA-20123 Insufficient privileges: you cannot drop table cls_lrn_tab_unique TABLE,
ORA-06512 at line no 2
Thanks and Regards
Prasad
ORA-20123 is a localized/customized error code & message; therefore any solution depends upon what is unique inside your DB now.
I suspect that some sort of TRIGGER exists, which throws posted error, but this is just idle speculation on my part.
How do I ask a question on the forums?
https://forums.oracle.com/message/9362002#9362002 -
ORA-00604/ORA-01422/ORA-06512 Error on trigger
Hi,
I have an database which is of version 10.2.0.3.0 on Enterprise Edition.
I want to restrict a user from usage of an schema . Therefore i have written a trigger but i have encountered with another errors:
ORA-00604: error occurred at recursive SQL level 1
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at line 5
Trigger Being::
SQL> create or replace trigger session_access
2 after logon on database
3 declare
4 v_username varchar2(30);
5 v_osuser varchar2(30);
6 begin
7 select username,osuser into v_username,v_osuser from v$session;
8 if v_username = 'SUSANJO' and v_osuser= 'ORACLE' then
9 raise_application_error (-20001,'Access restricted for this USER');
10 end if;
11 end;
12 /
Trigger created.
SQL> show errors;
No errors.
SQL> connect susanjo
Enter password:
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at line 5
Warning: You are no longer connected to ORACLE.
i have run out of ideas of whats to be done onto the trigger now.
Regards.
Susan JohnUm , i have implemented the following pl/sql. It seem to kick the person out BUT (now this is a big BUT) within the grid control it mentions :
Details Failed to connect to database instance: ORA-00604: error occurred at recursive SQL level 1.
create or replace trigger session_access
DECLARE
v_username sys.v_$session.username%type;
v_osuser sys.v_$session.osuser%type;
BEGIN
select s.username ,s.osuser into v_username,v_osuser
from v$session s where s.username='SUSANJO' and s.osuser='oracle';
IF (v_username ='SUSANJO' AND V_OSUSER='oracle' )
THEN
RAISE_APPLICATION_ERROR(-20001, 'You are not allowed to login using the program');
END IF;
END session_access;
Output :
SQL*Plus: Release 10.2.0.3.0 - Production on Mon Mar 23 12:36:43 2009
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning and Data Mining options
SQL> connect susanjo
Enter password:
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-20001: You are not allowed to login using the program
ORA-06512: at line 10
Warning: You are no longer connected to ORACLE.
SQL>
I did conduct a research which was not all that helpful too. So i am back to square one again.
regards
Susan John -
Error showing in Login as : ORA-00604:error occured at recursive SQL level
Hi,
I am facing problem in Login in to user Test:
I have created a trigger and built in sys environment:
CREATE OR REPLACE TRIGGER TEST_LOGON
AFTER LOGON ON TEST.SCHEMA
DECLARE
num INTEGER;
v_grant VARCHAR2(32767);
l_username VARCHAR2(30) := 'TEST';
BEGIN
IF USER=l_username THEN
num:=0;
FOR obj IN (SELECT TABLE_NAME FROM DBA_TABLES
WHERE TABLE_NAME LIKE 'BS_%') LOOP
v_grant:='GRANT ALL ON '||obj.TABLE_NAME || ' TO ' || USER;
EXECUTE IMMEDIATE 'GRANT ALL ON' || obj.TABLE_NAME || ' TO ' || USER;
num := num + 1;
END LOOP;
END IF;
END;
The trigger got executed in sys environment.
But when I am Logging to User as Test its showing Error as:
ORA-00604:error occured at recursive SQL level 1
ORA-00990:missing or invalid privilege
ORA-06512:at line 15
Kindly any help will be needful for me.
Thanks and Regardsuser598986 wrote:
Now its giving Error as :
ORA-00942:Table or view does not existWell, first of all dynamic grants it is not a good idea. Secondly, it is not a good idea to create objects in sys schema. Now about your trigger. Trigger is always created with definer rights, so in your case trigger was created by SYS and will be executed on behalf of SYS. Now, since trigger is created on TEST.SCHEMA it will be called only when user TEST is logging it. So there is no need for:
l_username VARCHAR2(30) := 'TEST';
BEGIN
IF USER=l_username THENNow you think FOR loop selects tables that start with BS_. Keep in mind, _ is a wildcard for LIKE - it indicates any single character, so FOR loop will also select tables that start with BSA, for example. But this is not all. FOR loop selects matchingl tables in whole databse, so tables can belong to any user. At the same time EXECUTE IMMEDIATE does not specify table owner. Therefore, since trigger is owned by SYS and, as I already mentioned, executes on behalf of SYS, table owner in GRANT statement will default to SYS, not to actual table owner. That is why you get ORA-00942.
Now the "bad" part. Even if you fix it and provide both owner and table name it still will fail with ORA-30511: invalid DDL operation in system triggers. Why? Check ORA-30511 details:
ORA-30511: invalid DDL operation in system triggers
Cause: An attempt was made to perform an invalid DDL operation in a system trigger. Most DDL operations currently are not supported in system triggers. The only currently supported DDL operations are table operations and ALTER?COMPILE operations.
Action: Remove invalid DDL operations in system triggers.SY. -
Ora-00604 error while taking tkprof of a trace file
Sorry i am giving the full erro but omitting exact table names
Hi ,
I have an error while taking tkprof of a trace file.
I gave the following command ---
tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela explain= /
error is --
Error in create table of EXPLAIN PLAN table : unix_session_user.prof$paln_table
ORA-00604: error occurred at recursive SQL level 1
ORA-20001: Step-6:DDL
Event Security. You are not permitted to perform the requested structural
changes to PROF (TABLE)
Event triggered : CREATE
ora_login_user
(session_user) : unix_session_user(dummy)
Search : select count(*) from
tabl(dummy table name) where obj_name like '%\%%' escape '\' and obj_type =
'TABLE' and obj_type = 'USER' and ( event_CREATE = 'Y' or status =
'Override')
ORA-06512: at line 162
ORA-06510: PL/SQL: unhandled
user-defined exception
EXPLAIN PLAN option disabled.
i searched for the error and in oracle forum i found a solution .. http://forums.oracle.com/forums/thread.jspa?threadID=844287&tstart=0
but after giving the table option it is giving the same error
tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela table=old_schema.plan_table explain= /
it again gave the same error.
In both two cases it gives elapsed time results,library cache missing etc but before giving this it throws ORA-00604 error as stated above
then i again correct the tkprof statement ..
tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela table=new_schema.plan_table explain= /
say this schema name here i used is dummy schema name.
My question is did this error came as we had not sufficient previlages in the old_schema but that previleges we have in new_schema?
My databse version is 9.2.0.4.0
Thanks in advance
Edited by: bp on Feb 3, 2009 11:36 PM
Edited by: bp on Feb 3, 2009 11:40 PMPlease post here full error message, there should be lines with ORA-00604 and then some other ORA as well.
And are there any trace files generated during this error?
And as You can see from error description, probably You will have to contact with Oracle support in order to solve this case:
oerr ora 00604
00604, 00000, "error occurred at recursive SQL level %s"
// *Cause: An error occurred while processing a recursive SQL statement
// (a statement applying to internal dictionary tables).
// *Action: If the situation described in the next error on the stack
// can be corrected, do so; otherwise contact Oracle Support. -
ORA-00604: error occurred at recursive SQL when calling proc via db_link
Hi,
I'm on 9.2.0.8 and got strange issue with simple test case
on source db:
CREATE OR REPLACE PROCEDURE ADMIN.gg_ref(out_tokens OUT SYS_REFCURSOR) is
BEGIN
OPEN out_tokens for select dummy from dual;
END ;
Now testing code localy:
SQL> var r refcursor
SQL> declare
2 output sys_refcursor;
3 begin
4 adminx.gg_ref(output);
5 :r:=output;
6 end;
7 /
PL/SQL procedure successfully completed.
SQL> print r
D
X
So its working.
I've got db_link to that db , and now call that proc via dblink from other 9.2.0.8 DB:
var r refcursor
1 declare
2 output sys_refcursor;
3 begin
4 admin.gg_ref@LINK_NAME(output);
5 :r:=output;
6* end;
SQL> /
declare
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-00900: invalid SQL statementWhats wrong with my code ?
Are there any restriction I'm not aware of ?
Regards
GregGGregG wrote:
What should my code look like now ?
Should I rewrite this as function returning index by collection or something ?You can use DBMS_SQL - but use the remote package and not the local one. This is a little bit more complex ito call interface than using a ref cursor, but is the very same thing on the server side. DBMS_SQL also provides a more comprehensive set of features than using the ref cursor interface.
The main issue though is additional coding - as DBMS_SQL is a lower level interface (a lot closer to the real Oracle Call Interface/OCI):
--// on remote database the procedure returns a DBMS_SQL cursor instead of a ref cursor
SQL> create or replace procedure FooProc( cur in out number, deptID number ) is
2 rc number;
3 begin
4 cur := DBMS_SQL.open_cursor;
5
6 DBMS_SQL.parse(
7 cur,
8 'select ename from emp where deptno = :deptID',
9 DBMS_SQL.native
10 );
11
12 DBMS_SQL.Bind_Variable( cur, 'deptID', deptID );
13
14 rc := DBMS_SQL.Execute( cur );
15 end;
16 /
Procedure created.
--// from the local database side we call this remote proc
SQL> declare
2 c number; --// instead of using sys_refcursor
3 empName varchar2(10); --// buffer to fetch column into
4 begin
5 FooProc@testdb( c, 10 ); --/ call the proc that creates the cursor
6
7 --// we need to define our fetch buffer for the 1st column in the
8 --// SQL projection of that cursor (10 byte fetch buffer for 1st column)
9 DBMS_SQL.define_column@testdb( c, 1, empName, 10 );
10
11 --// we now fetch from this cursor, but via the DBMS_SQL
12 --// interface
13 loop
14 --// fetch the row (exit when 0 rows are fetched)
15 exit when DBMS_SQL.Fetch_Rows@testdb( c ) = 0;
16
17 --// copy value of 1st column in row into the local PL/SQL buffer
18 DBMS_SQL.column_value@testdb( c, 1, empName );
19
20 --// record value it via dbms output
21 DBMS_OUTPUT.put_line( 'name='||empName||' deptID=10' );
22 end loop;
23
24 --// close it explicitly as you would a ref cursor
25 DBMS_SQL.Close_Cursor@testdb( c );
26 end;
27 /
name=CLARK deptID=10
name=KING deptID=10
name=MILLER deptID=10
PL/SQL procedure successfully completed.
SQL> -
hi all
i facing Ora-00604.
before this error i am got
ORA-12638: Credential retrieval failed
Release 10.1.0.2.0 - Production on Tue Aug 15 17:11:27 2006 on Win2003Server
then after i check Alert_orcl.log file and find Ora-00604 error
last few lines of Alert_orcl.log file
Tue Aug 15 16:53:01 2006
Errors in file d:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_2888.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-00922: missing or invalid option
ORA-06512: at line 2
Tue Aug 15 16:55:42 2006
Errors in file d:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_3332.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-00922: missing or invalid option
ORA-06512: at line 2
Tue Aug 15 17:01:26 2006
Errors in file d:\oracle\product\10.1.0\admin\orcl\udump\orcl_ora_3312.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-00922: missing or invalid option
ORA-06512: at line 2
then Oracle Expert What should i do for correct this error..
reply plz.
(Testing Enviorments)
regards
Mohammadi
Message was edited by:
Mohammadi52hi dear aijaz
i am search ora-00604 error in oracle documentation. and the solution is check and start tracing. ok
and also i am try to connect through OEM and i am successfully connected through OEM.
and still through sqlplus i got error.
then i restart my PC after restart i am able to connect through sqlplus.
but dear i still get error as scott /tiger user...but error is
SQL> conn scott/tiger
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-00922: missing or invalid option
ORA-06512: at line 2
and i am also check in oracle doc.. solution is Call Oracle Support.
i want ur comment and all member..
thanx for reply
regards
Mohammadi52 -
Getting error ORA-00604: error occurred at recursive SQL level 1
Folks getting this error while executing dbms-stats , before to start upgrade to 11g
any help would be appreciated
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> EXEC DBMS_STATS.GATHER_DICTIONARY_STATS;
BEGIN DBMS_STATS.GATHER_DICTIONARY_STATS; END;
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01426: numeric overflow
ORA-06512: at "SYS.DBMS_STATS", line 13336
ORA-06512: at "SYS.DBMS_STATS", line 13643
ORA-06512: at "SYS.DBMS_STATS", line 15985
ORA-06512: at "SYS.DBMS_STATS", line 16027
ORA-06512: at line 1Have you tried to pass the parameters like for example:
begin
DBMS_STATS.GATHER_DATABASE_STATS (
estimate_percent =>100,
block_sample=>FALSE,
method_opt=>'for all columns size auto',
degree=>null,
cascade=>true,
no_invalidate=>false,
options=>'GATHER STALE',
gather_sys=>FALSE);
end;
/http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#i1049486 -
Ora-00604 error and ora 01000 error while report generation.
hi all,
I am trying to generate the multiple reports of same template through a program.
While this job is running, i get the following error at the BIP console and the reports don't get generated.
[101711_044115578][][EXCEPTION] java.sql.SQLException: ORA-00604: error occurred
at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
ORA-00604: error occurred at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
ORA-01000: maximum open cursors exceeded
Kindly help.
Thanks.Lots of resources with a simple search to see what this is about, for example:
http://www.orafaq.com/wiki/ORA-01000
ORA-01000: maximum open cursors exceeded
Cause: A host language program attempted to open too many cursors. The initialization parameter OPEN_CURSORS determines the maximum number of cursors per user.
Action: Modify the program to use fewer cursors. If this error occurs often, shut down Oracle, increase the value of OPEN_CURSORS, and then restart Oracle.
open_cursors parameter
http://download.oracle.com/docs/cd/E11882_01/server.112/e25513/initparams160.htm#REFRN10137
Oracle support note:
OERR: ORA-1000 maximum open cursors exceeded (Doc ID 18591.1) -
Ora-00604,ora-01422 error while dropping the table
Hi gurus,
I am using Oracle 10g R2 on windows 2000 platform,while dropping the table the following error occured.
ORA-00604 : error occurred at recursive sql level 1.
ORA-01422: exact fetch returns more than requested number of rows.
Need urgent help.
Thanks in advanceIs there an AFTER EVENT trigger defined on this database? Can you check that?
Secondly, was this database migrated from earlier version? I remember having seen this problem on 9i (it was 9.2.0.1 or 9.2.0.2; I can't recall exactly). -
PL/SQL-Error: ORA-00604 - ORA-01422 makes no sense. Any Idea anyone ?
Problem:
No matter if creating new or recompiling old procedures
(that had been compiled successfully lon ago),
I always receive the very same error message:
ORA-00604: ...recursive SQL level 1
ORA-01422: exact fetch returns more than requested number of rows
ORA-at line 5 (mouse cursor blinks at teh first line of code...)
It is the same with PLEdit, HORA and SQL*PLUS:
even the most simple procedures are not compiled
Hints: I encounter this problem since I installed Forms 6i.
I am using database 8.1.7 on Redhat Linux (as a server),
and working on a W2K client.
Any idea anyone ?
ThanX in advance !Sorry, I found my error : Trigger on Database
Maybe others are interested too:
Be careful when using triggers "on schema" or "on database",
because, as I have found, the error message doesn4t say that.
I had a few such triggers for logging purposes.
After I disabled my database triggers, I could continue compiling.
Bye, Jan. -
ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone
Hi
I'm trying to config my base_domain for SOA11g but i'm getting the following error when connecting to my Oracle XE DB to configure SOA,
please help thanks
Software installed
OS: Windows 7 64bit
DB: Oracle XE 10g
Oracle SOA 11.1.1.4.0
Oracle RCU 11.1.1.4.0
Oracle wls1034_generic
Error Detials
Component Schema=SOA Infrastructure
Driver=oracle.jdbc.xa.client.OracleXADataSource
URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
User=DEV_SOAINFRA
Password=********
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='SOAINFRA' and version='11.1.1.4.0'
ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
CFGFWK-60850: Test Failed!
Component Schema=User Messaging Service
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
User=DEV_ORASDPM
Password=********
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='ORASDPM' and version='11.1.1.2.0'
ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
CFGFWK-60850: Test Failed!
Component Schema=OWSM MDS Schema
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
User=DEV_MDS
Password=********
SQL Test=select 1 from schema_version_registry where
owner=(select user from dual) and mr_type='MDS' and
version='11.1.1.4.0'
ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
CFGFWK-60850: Test Failed!
Component Schema=SOA MDS Schema
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
User=DEV_MDS
Password=********
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='MDS' and version='11.1.1.4.0'
ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
CFGFWK-60850: Test Failed!
Component Schema=OSB JMS Reporting Provider
Driver=org.apache.derby.jdbc.ClientDriver
URL=jdbc:derby://127.0.0.1:1521/XE;create=true;ServerName=127.0.0.1;databaseName=XE
User=DEV_SOAINFRA
Password=********
SQL Test=SELECT 1 FROM SYS.SYSTABLES
Insufficient data while reading from the network - expected a minimum of 6 bytes and received only 0 bytes. The connection has been terminated.
CFGFWK-60850: Test Failed!Hi,
Please check the timezone set in your server where Weblogic is installed. Also ensure the timezone on which your weblogic is running, the same is present in in database by querying V$TIMEZONE_NAMES table. If it is not present then please change the timezone of the server. then try to execute the steps what you are doing, it will not throw any error.
if this helps please mark.
Thanks,
Kishore -
ORA-00604: error occurred at recursive SQL level 1
Hi,
i have a view as source (DB2)
Target table in Oracle with the same structure
when i view data from the view all the records are listed.
after mapping the source and target source gets fail while debuging (test data)
and also while deploying the mapping i get the following error.
Anyone knows about the following errors
ACBLODS_MAP
Create
Warning
ORA-06550: line 0, column 0:
ORA-04052: error occurred when looking up remote object [email protected]@DB2_KAPIL_LOCATION
ORA-00604: error occurred at recursive SQL level 1
ORA-28500: connection from ORACLE to a non-Oracle system returned this
please someone help me to solve this
thanks in advance
regards
rajaI had a simular problem with progress. If the progress table had to many columns
OWB was failing. The problem was the ODBC driver used to make a connection to PROGRESS. -
ORA-00604: error occurred at recursive SQL level 1 (Call to a Oracle View)
I have created a view that refers to a package function within the sql select.
Like
E.x
CREATE OR REPLACE VIEW VW_TAX
as select
test_pkg.fn_get_gl_value(acct_id) desired_col1,
test_pkg.fn_get_gl_desc_value(acct_id) desired_col2
From tables a, b
a.col= b.col
The sample function( fn_get_gl_value) is embedded into a package (test_pkg).
Function fn_get_gl_value:
It earlier referred to table A1, B1, C1 and this query took really long, Therefore I used object type tables and stored the values required once within the package when it is invoked. Later I used the Tables A1, B1 and C1(table Cast from the type Table Loaded in Package Memory)
The query was fast and fine, but now when I try to re-use the view
select * from VW_TAX
where acct_id = '02846'
It fails with this message
09:32:35 Error: ORA-00604: error occurred at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
Note: The database is Oracle8i Enterprise Edition Release 8.1.7.4.0.
Maximum cursors database is 500
Please let me know if there is any known solution,
Appreciate all your help
Thanks
RPSeems like your OPEN_CURSORS init.ora parameter is set too low.
See Metalink Note:1012266.6 for details.
ORA-01000: "maximum open cursors exceeded"
Cause: A host language program attempted to open too many cursors.
The initialization parameter OPEN_CURSORS determines the
maximum number of cursors per user.
Action: Modify the program to use fewer cursors. If this error occurs
often, shut down Oracle, increase the value of OPEN_CURSORS,
and then restart Oracle.
Maybe you are looking for
-
How to add a new user so it have the same access with restricted usertime
When i made a new useraccount to my daughter,with restricted usertime,she have probl.to get into the interned. How can i make it possible to have the same look on her useraccount as mine as admin.but only with restricted usertime? Brgds O.Knutsen
-
Hi We are migrating from old domain to new domain. Before live migration, we are trying to check the ACE/ACL migration through SubInACL. We are running the SubInACL on a cluster, which is a member of the Old Domain (Test Domain). We are able to resol
-
Display thunderbolt alimentation cable problem
Hello I recently met a strange problem with my Thunderbolt screen. I use a Retina MacBook Pro with the supplied adapter to the power cable. Here's the problem: When I plug in my computer, the power supply doesn't connect itself as before. The LED doe
-
Why the exported JPG file looks like completely black?
I've already exported a PDF file by Indesign, but when I exported it to JPG file (by Acrobat), the JPG looks like almost compeletely black. But When I exported it to PNG, or Open this JPG by PS, and save it again, the image looks like normal (no blac
-
my classic is frozen. cannot get it to repond or turn off. I have tried connecting to the computer as well, nothing works