Drop Table :ORA-00604: error occurred at recursive SQL level 1
Hi,
When I am trying to drop a table, getting the following error:
SQL> drop table drp_test;
drop table drp_test
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01422: exact fetch returns more than requested number of rows
This is applicable even when I am trying to drop a table as sys user. I am not able to drop any table within this database. Previously I was able to carry this operation successfully.
Database Version: 10.2.0.1.0
OS: Linux
Thanks in advance for your valuable time.
Regards,
Joy
Hi Anurag,
I was unable to access net and hence is the delay in reply. Kindly suggest me regarding the level of trace to be generated.
Regards,
Joy
Similar Messages
-
Drop Table, User, Drop * ORA-00604: error occurred at recursive SQL level 1
Greetingss,
Installed 11.2.0.1 several months ago and upgraded to 11.2.0.2 a month ago without issues. However prior to upgrade I was able to drop schema objects. Since upgrade I do not recall specifically dropping any objects. However, now trying to drop a few objects and discovered all drops attempted are failing, i.e. tables, packages, users, function, views, directories, etc. Create or Replace and Alter all appear to still work.
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
5 rows selected.
SQL> connect sys as sysdba
Connected.
SQL> create user drop_test identified by drop_test account unlock;
User created.
SQL> alter user drop_test default tablespace users;
User altered.
SQL> grant connect, resource, dba to drop_test;
Grant succeeded.
SQL> connect drop_test/drop_test
Connected.
SQL> create table a (a number);
Table created.
SQL> create view av as select * from a;
View created.
SQL> create function ac return number as
2 result number;
3 begin
4 select count (*) into result from a;
5 return result;
6 end;
7 /
Function created.
SQL> insert into a values (1);
1 row created.
SQL> commit;
Commit complete.
SQL> select ac from dual;
AC
1
1 row selected.
SQL> select * from av;
Enter
A
1
1 row selected.
SQL> drop function ac;
drop function ac
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> drop view av;
drop view av
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> drop table a;
drop table a
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> connect sys as sysdba
Connected.
SQL> drop function drop_test.ac;
drop function drop_test.ac
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> drop view drop_test.av;
drop view drop_test.av
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> drop table drop_test.a;
drop table drop_test.a
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> drop user drop_test;
drop user drop_test
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> drop user drop_test cascade;
drop user drop_test cascade
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> get /x92
1 select owner, object_name, object_type, status
2 from dba_objects
3* where object_name = 'DBMS_XDBZ'
SQL> /
OWNER OBJECT_NAME OBJECT_TYPE STATUS
PUBLIC DBMS_XDBZ SYNONYM VALID
XDB DBMS_XDBZ PACKAGE VALID
XDB DBMS_XDBZ PACKAGE BODY VALID
3 rows selected.
SQL> @invalid
no rows selected
SQL> l
1 select
2 owner c1,
3 object_type c3,
4 object_name c2
5 from
6 dba_objects
7 where
8 status != 'VALID'
9 order by
10 owner,
11 object_type
12*
Advanced appreciation for any assistence provided.
best RegardsGreetings,
Yes I do use XDB and Application Express. I can also create and delete resources in XDB repository without issue.
SQL> select schema_url from dba_xml_schemas;
Enter
SCHEMA_URL
http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/dav.xsd
http://xmlns.oracle.com/xdb/XDBResConfig.xsd
http://xmlns.oracle.com/xdb/XDBStandard.xsd
http://xmlns.oracle.com/xdb/log/xdblog.xsd
http://xmlns.oracle.com/xdb/log/ftplog.xsd
http://xmlns.oracle.com/xdb/log/httplog.xsd
http://www.w3.org/2001/xml.xsd
http://xmlns.oracle.com/xdb/xmltr.xsd
http://xmlns.oracle.com/xdb/XDBFolderListing.xsd
http://www.w3.org/1999/xlink.xsd
http://www.w3.org/1999/csx.xlink.xsd
http://www.w3.org/2001/XInclude.xsd
http://www.w3.org/2001/csx.XInclude.xsd
http://xmlns.oracle.com/xdb/stats.xsd
http://xmlns.oracle.com/xs/roleset.xsd
http://xmlns.oracle.com/xs/securityclass.xsd
http://xmlns.oracle.com/rlmgr/rclsprop.xsd
http://xmlns.oracle.com/rlmgr/rulecond.xsd
http://xmlns.oracle.com/ord/meta/dicomImage
http://xmlns.oracle.com/xdb/xdbconfig.xsd
http://xmlns.oracle.com/streams/schemas/lcr/streamslcr.xsd
http://xmlns.oracle.com/xs/dataSecurity.xsd
http://xmlns.oracle.com/xs/aclids.xsd
http://xmlns.oracle.com/xs/principal.xsd
http://xmlns.oracle.com/xdb/XDBSchema.xsd
http://xmlns.oracle.com/xdb/XDBResource.xsd
http://www.w3.org/2001/csx.xml.xsd
http://xmlns.oracle.com/xdb/csx.xmltr.xsd
http://xmlns.oracle.com/ord/dicom/datatype_1_0
http://xmlns.oracle.com/ord/dicom/orddicom_1_0
http://xmlns.oracle.com/ord/dicom/mddatatype_1_0
http://xmlns.oracle.com/ord/meta/iptc
http://xmlns.oracle.com/ord/dicom/standardDictionary_1_0
http://xmlns.oracle.com/ord/meta/xmp
http://xmlns.oracle.com/ord/dicom/anonymity_1_0
http://xmlns.oracle.com/ord/dicom/constraint_1_0
http://xmlns.oracle.com/ord/dicom/metadata_1_0
http://xmlns.oracle.com/ord/dicom/mapping_1_0
http://xmlns.oracle.com/ord/dicom/preference_1_0
http://xmlns.oracle.com/ord/dicom/privateDictionary_1_0
http://xmlns.oracle.com/ord/meta/exif
http://xmlns.oracle.com/ord/dicom/rpdatatype_1_0
http://xmlns.oracle.com/ord/meta/ordimage
http://www.opengis.net/gml/geometry.xsd
http://www.opengis.net/gml/feature.xsd
demo_customer_t.xsd
http://xmlns.oracle.com/spatial/georaster/georaster.xsd
http://localhost:8080/source/schemas/poSource/xsd/purchaseOrder.xsd
http://xmlns.oracle.com/ord/dicom/UIDdefinition_1_0
http://xmlns.oracle.com/ord/dicom/attributeTag_1_0
http://xmlns.oracle.com/ord/dicom/manifest_1_0
http://www.w3.org/1999/xlink/xlinks.xsd
53 rows selected.
SQL>
I will have to review the notes provided via the links. I hope that there is a solution available that is in alternative to re-installing XDB.
Best Regards
Edited by: RealDitto on Aug 24, 2011 10:40 AM -
Hi all,
i have the following code:
DROP TYPE unit_function FORCE
DROP TYPE unit_moving_point FORCE
DROP TYPE moving_point_tab FORCE
DROP TYPE moving_point FORCE
DROP TABLE moving_object_ref
DROP TABLE moving_point_ref
CREATE OR REPLACE TYPE unit_function AS OBJECT
xi NUMBER,
yi NUMBER
CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
p tau_tll.d_period_sec,
m unit_function
CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
CREATE OR REPLACE TYPE moving_point AS OBJECT
u_tab moving_point_tab
CREATE TABLE moving_point_ref OF moving_point NESTED TABLE u_tab STORE AS m_u_tab
When i execute this for the first time the drop commands fail, as expected and the types/tables are successfully created. But if i try to run again the same code i get this error:
ORA-00604: error occurred at recursive SQL level 1 ORA-04063: table "HERMESL.MOVING_POINT_REF" has errors
I have tried to first drop the tables and after the types but then I get this error:
ORA-00604: error occurred at recursive SQL level 1 ORA-22914: DROP of nested tables not supported
this error occurs when the "DROP TYPE unit_function FORCE" and "DROP TYPE unit_moving_point FORCE" commands is to be executed...
Can anyone help me?
Thanks...Works on 10.1.0.3.
What is your exact version?
SQL> DROP TYPE unit_function FORCE
2 /
DROP TYPE unit_function FORCE
ERROR at line 1:
ORA-04043: object UNIT_FUNCTION does not exist
SQL> DROP TYPE unit_moving_point FORCE
2 /
DROP TYPE unit_moving_point FORCE
ERROR at line 1:
ORA-04043: object UNIT_MOVING_POINT does not exist
SQL> DROP TYPE moving_point_tab FORCE
2 /
DROP TYPE moving_point_tab FORCE
ERROR at line 1:
ORA-04043: object MOVING_POINT_TAB does not exist
SQL> DROP TYPE moving_point FORCE
2 /
DROP TYPE moving_point FORCE
ERROR at line 1:
ORA-04043: object MOVING_POINT does not exist
SQL> DROP TABLE moving_object_ref
2 /
DROP TABLE moving_object_ref
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> DROP TABLE moving_point_ref
2 /
DROP TABLE moving_point_ref
ERROR at line 1:
ORA-00942: table or view does not exist
SQL>
SQL> CREATE OR REPLACE TYPE unit_function AS OBJECT
2 (
3 xi NUMBER,
4 yi NUMBER
5 );
6 /
Type created.
SQL> CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
2 (
3 m unit_function
4 );
5 /
Type created.
SQL> CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
2 /
Type created.
SQL> CREATE OR REPLACE TYPE moving_point AS OBJECT
2 (
3 u_tab moving_point_tab
4 );
5 /
Type created.
SQL> CREATE TABLE moving_point_ref OF moving_point
2 NESTED TABLE u_tab
3 STORE AS m_u_tab
4 /
Table created.
SQL> DROP TYPE unit_function FORCE
2 /
Type dropped.
SQL> DROP TYPE unit_moving_point FORCE
2 /
Type dropped.
SQL> DROP TYPE moving_point_tab FORCE
2 /
Type dropped.
SQL> DROP TYPE moving_point FORCE
2 /
Type dropped.
SQL> DROP TABLE moving_object_ref
2 /
DROP TABLE moving_object_ref
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> DROP TABLE moving_point_ref
2 /
Table dropped.
SQL>
SQL> CREATE OR REPLACE TYPE unit_function AS OBJECT
2 (
3 xi NUMBER,
4 yi NUMBER
5 );
6 /
Type created.
SQL> CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
2 (
3 m unit_function
4 );
5 /
Type created.
SQL> CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
2 /
Type created.
SQL> CREATE OR REPLACE TYPE moving_point AS OBJECT
2 (
3 u_tab moving_point_tab
4 );
5 /
Type created.
SQL> CREATE TABLE moving_point_ref OF moving_point
2 NESTED TABLE u_tab
3 STORE AS m_u_tab
4 /
Table created.
SQL> disconnect
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options -
ORA-00604: error occurred at recursive SQL level 2
Hello,
I am trying to create a simple table and I am getting a ora error as below.
SQL> create table album(name varchar2(100),image blob);
create table album(name varchar2(100),image blob)
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 2
ORA-01422: exact fetch returns more than requested number of rows
how to resolve this?Any help..
Thanks,
Ranz.Hi,
*@Anurag Tibrewal,*
I followed as per the order od statements you gave. Initially there was no table "ALBUM" when I executed the first 2 statements.
3rd staement i created a table "ALBUM" and then 4th and 5th statement showed that I have a table called "ALBUM".
Now when again I wanted to drop the table I am getting the same error.
SQL> drop table album
2 ;
drop table album
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01422: exact fetch returns more than requested number of rows
*@Jean-Valentin*
I am not finding the trace file for today as i checked the alert log. When i searched for the the error I found the error for March 4. No ora-00604 error from today.
As shown in ALERT LOG.
Thu Mar 04 10:50:41 2010
Errors in file d:\oracle\product\10.2.0\admin\raneeshtest\bdump\*raneeshtest_j000_5976.trc*:
ORA-00604: error occurred at recursive SQL level 1
ORA-04030: out of process memory when trying to allocate 172 bytes (Typecheck,seg:kggfaAllocSeg)
ORA-12012: error on auto execute of job 1
ORA-04030: out of process memory when trying to allocate 16428 bytes (pga heap,kgh stack)
Trace file details:
Dump file d:\oracle\product\10.2.0\admin\raneeshtest\bdump\raneeshtest_j000_5976.trc
Thu Mar 04 10:50:31 2010
ORACLE V10.2.0.3.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Personal Oracle Database 10g Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
Windows NT Version V6.0 Service Pack 1
CPU : 2 - type 586, 2 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:27M/2037M, Ph+PgF:341M/4352M, VA:4M/2047M
Instance name: raneeshtest
Redo thread mounted by this instance: 1
Oracle process number: 15
Windows thread id: 5976, image: ORACLE.EXE (J000)
*** 2010-03-04 10:50:31.224
*** ACTION NAME:() 2010-03-04 10:50:30.276
*** MODULE NAME:() 2010-03-04 10:50:30.195
*** SERVICE NAME:(SYS$USERS) 2010-03-04 10:50:30.195
*** SESSION ID:(137.401) 2010-03-04 10:50:30.195
*********START PLSQL RUNTIME DUMP************
***Got internal error Exception caught in pfrrun() while running PLSQL***
***Got ORA-4030 while running PLSQL***
PACKAGE SYSMAN.MGMT_ADMIN_DATA:
library unit=3416af50 line=128 opcode=117 static link=0 scope=0
FP=3ca31374 PC=30f42000 Page=0 AP=3ca47b2c ST=3ca32778
DL0=3ca46564 GF=3ca465b0 DL1=3ca46584 DPF=3ca465a8 DS=30f421e4
DON library unit variable list instantiation
0 3416af50 3ca465b0 3ca2005c
1
2
3
4
5
6
7
scope frame
2 0
1 3ca31374
package variable address size
0 3ca46698 16
1 3ca466a8 16
2 3ca466b8 16
3 3ca466c8 16
4 3ca466d8 16
5 3ca466e8 20
6 3ca466fc 16
7 3ca4670c 20
8 3ca46720 16
9 3ca46730 4
10 3ca46734 4
11 3ca46738 4
12 3ca4673c 4
13 3ca46740 4
14 3ca46744 4
15 3ca46748 4
16 3ca4674c 4
17 3ca46750 4
18 3ca46754 4
19 3ca46758 4
20 3ca4675c 4
21 3ca46760 20
22 3ca46774 20
23 3ca46788 20
24 3ca4679c 20
25 3ca467b0 4
26 3ca467b4 4
27 3ca467b8 4
28 3ca467bc 4
29 3ca467c0 16
30 3ca467d0 16
31 3ca467e0 8
32 3ca467e8 39
33 3ca46810 39
34 3ca46838 521
35 3ca46a44 521
36 3ca46c50 140
37 3ca46cdc 140
38 3ca46d68 30
39 3ca46d88 30
40 3ca46da8 30
41 3ca46dc8 30
42 3ca46de8 30
43 3ca46e08 30
44 3ca46e28 30
45 3ca46e48 30
46 3ca46e68 30
47 3ca46e88 30
48 3ca46ea8 30
49 3ca46ec8 30
50 3ca46ee8 140
51 3ca46f74 140
52 3ca47000 30
53 3ca47020 30
54 3ca47040 30
55 3ca47060 30
56 3ca47080 39
57 3ca470a8 39
version=43123476 instantiation size=2920
line pcode offset
1 2
4 620
5 632
6 632
7 638
8 644
14 650
29 810
44 970
47 992
48 1000
49 1008
50 1016
51 1024
52 1032
53 1040
54 1048
55 1056
56 1064
57 1072
60 1080
128 1814
196 2548
197 2554
198 2560
199 2566
205 2572
206 2578
438 2584
1 2586
***********END PLSQL RUNTIME DUMP************
*** 2010-03-04 10:50:40.690
ORA-12012: error on auto execute of job 1
ORA-04030: out of process memory when trying to allocate 16428 bytes (pga heap,kgh stack)
*** 2010-03-04 10:50:41.206
ORA-00604: error occurred at recursive SQL level 1
ORA-04030: out of process memory when trying to allocate 172 bytes (Typecheck,seg:kggfaAllocSeg)
ORA-12012: error on auto execute of job 1
ORA-04030: out of process memory when trying to allocate 16428 bytes (pga heap,kgh stack)
SQL> select * from dual;
D
X
SQL>
This is the output. Its returning corredclty. Now what is the problem? Pls help me. -
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. -
ORA-00604: error occurred at recursive SQL level
I only have 2 users and approx 9 schemas.
Why is this complaining about maximum cursors??
Error message:
ORA-00604: error occurred at recursive SQL level
ORA-01000: maximum open cursors exceeded
ORA-0064 error occurred at recursive SQL level
Cause:
An error occurred at recursive SQl level
(a statement applying to internal dictionary tables)
>>
Created 2 users
1) boundaries (User)
has a couple of schema.
National, provincial, district, village
I have set-up the Primary & Foreign keys.
Only 1 table has 1 row of data
2) Projects (User)
Set up one table - Program
Program has a Primary Key.
Foreign key is linked to (boundaries) national PK
The problem occured when I entered data into boundaries.nationalClive_S wrote:
OS: Windows Server 2008 standard - 64 bit.
Select * from v$version
Oracle Database 11g release 11.1.0.7.0 - 64 bit
PL/SQL release 11.1.0.7.0 - production core 11.1.0.7.0
Production TNS for 64-bit windows: 11.1.0.7.0
Production NLSRTL for 64-bit windows: 11.1.0.7.0
I am trying to replicate in Oracle what I would do in SQL Server. There's your first mistake. There are too many differences. My first programming language was COBOL, but I don't write other languages as if they were COBOL.
I cannot attach an image of the users & tablespace, to illustrate.Another reason to work in sqlplus.
>
I created 2 User = Boundaries and Project
I created several schemas (tables)No, you created 2 schemas. One user = one schema = one user.
A schema is not a table and a table is not a schema. A schema is a collection of objects, which can include multiple tables but only those owned by one username.
>
Boundaries (user)
Tables:
Country
Province
District
Village
Projects (user)
Tables:
Program
Project.Program has a FK = Country that is linked to Boundaries.Country
I need to create several scemas (databases):Another difference. a schema is not a database, though the sql server concept of a database is somewhat analogous to an oracle schema.
Boundaries, Project, Assets.
There are foreign keys linking the various schemas.FKs link tables not schemas.
Edited by: EdStevens on Feb 26, 2010 10:30 AM -
ORA-00604: error occurred at recursive SQL level 1 and ORA-30036:
Hi Gurus,
I am trying to shrink the table segment along with indexes.
I am using
alter table OWNER.TABLE shrink space cascade; syntax but after 1 hr i got the following error.
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-30036: unable to extend segment by 4 in undo tablespace 'UNDOTBS01'
UNDO tablespace has sufficient space and undo_retention is 6Hrs. What could be the problem ?
Or do i need to use
alter table OWNER.TABLE shrink space; only ?
Thanks & RegardsHi,
I am doing this in testing enviornment and before this activity added 4g space to existing 50GB undo tablespace.
No jobs are running in testing environment and the shrinking on table is of 12GB. I cann't import/export and truncate or move to different tablespaces as this has oracle advanced queue and chances are more to corrupt queues.
Thanks -
ORA-00604: error occurred at recursive SQL level 1 (10G)
I was adding a default schema setting to a user id, saved the role and got the above error. ID hidden. All the roles below had default already added but had not caused error and some had been in place since Oracle9i
SQL> REVOKE "ROL_HOBSONS_SCHEMA_VIEWS" FROM <USER ID>
Revoke complete.
SQL> GRANT "ROL_HOBSONS_SCHEMA_VIEWS" TO <USER ID>
Grant complete.
SQL> ALTER USER <USER ID>
DEFAULT ROLE "DBA", "ROL_IRIS_CONVERSION", "ROL_UKFRSRPT_VIEW", "ROL_UKFRS_TRANS", "ROL_UKFRS_VIEW", "ROL_UKHRS_RPT", "ROL_UKSISRPT_FAMSBR", "ROL_UKFRS_RPT2", "ROL_CM_IT_CPE", "ROL_UKSISRPT_ VIEW", "CONNECT", "ROL_HOBSONS_SCHEMA_VIEWS", "RESOURCE", "ROL_NEW_UKSIS_VIEWS_IN_TEST", "ROL_HOBSONS_SCHEMA_VIEWS"
ALTER USER <USER ID>
DEFAULT ROLE "DBA", "ROL_IRIS_CONVERSION", "ROL_UKFRSRPT_VIEW", "ROL_UKFRS_TRANS", "ROL_UKFRS_VIEW", "ROL_UKHRS_RPT", "ROL_UKSISRPT_FAMSBR", "ROL_UKFRS_RPT2", "ROL_CM_IT_CPE", "ROL_UKSISRPT_ VIEW", "CONNECT", "ROL_HOBSONS_SCHEMA_VIEWS", "RESOURCE", "ROL_NEW_UKSIS_VIEWS_IN_TEST", "ROL_HOBSONS_SCHEMA_VIEWS"
Error at line 4
ORA-00604: error occurred at recursive SQL level 1
ORA-00001: unique constraint (SYS.I_DEFROLE1) violated
The original change was made by a dba using current Oracle OEM. I accessed using TOAD10 to update another user with a default check mark. Upon trying to save, I got the above error. The updated access remained even though it gave an error and the user reported being able to get to her data. However, any changes to the role with adding or removing admin or default will display the error.
Any ideas?
thanks JohnHi,
Oracle makes an entry in SYS.DEFROLE$ table for a pair of user and default role.
You are getting the error as some of the roles you are now assigning are already default roles for this user and hence UK violation.
You can make use of *"sys.KU$_DEFROLE_LIST_VIEW"* to find already existing records. (see ex below)
SQL> select * from sys.KU$_DEFROLE_LIST_VIEW;
USER_ID USER_NAME ROLE ROLE_ID
69 SRICKMAN DBA 4
69 SRICKMAN ORACLE_DBA 156Find already existing entries for your user, remove those roles from your query and try again.
Regards,
Ullhas -
ORA-00604:error occurred at recursive SQL level string
Hi all,
Oracle Version :- 11.2.0.2
I found a error in a trigger(Statement Level)
ORA-00604:error occurred at recursive SQL level string.
Before Finding this issue,Once the DB Response was slow . Will this be the issue Of DB Slow response. The Above trigger fires for each entry in an transaction table.
The code is Patched and was executed . The above issue was found during another issue and not the DB Slow response.
My Doubt is Whether DB response slow issuewould be because of this. Now after fixing this Slow response was not reported.
Your inputs are highly appreciated.it helps if you can post the complete stack of error messages (I'm suspecting you have several more messages than just ORA-00604).
A cut-n-paste of the SQL*Plus session with the SQL statement and the error message(s) below would give the info as to what the actual problem is.
Do you have INSERT priv. on that table? Are you doing this from within a stored procedure or at SQL prompt? -
ORA-00604: error occurred at recursive SQL level 1 ORA-01003: no statement
Hi ,
we pass Query to ref cursor using with clause and it works fine on oracle Sql but raise an error when called from
ADO.net
for example
create or replace package body abc_details
as
proedure initial (p_refcursor out sys_refcursor)
is
begin
v_sql='with a as (select ..
, b as (select * from table(emppkg.empdetails))
open p_refcursor for v_sql;
end;
with oracle 10g it works fine on Sql prompt and fetches the results but when called from ado.net it
intermitantly fetches and error "ORA-00604: error occurred at recursive SQL level 1 ORA-01003: no statement "
Please suggest
Thanks in advance.wild guess here,
but emppkg.empdetails type look's like a pl/sql type,
while it should be a sql type.
Amiel -
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. -
Tablespace - ORA-00604: error occurred at recursive SQL level 1
I just installed 9i. I tried to use the installer but it kept hanging so I did the database
creation by hand. Anyway does any one have an idea of what is wrong?
SQL> create tablespace cps datafile '/u02/cps' size 1024M;
create tablespace cps datafile '/u02/cps' size 1024M
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01655: unable to extend cluster SYS.C_TS# by 2 in tablespace SYSTEM
ThanksTry the commands:
1 - startup mount
2 - alter database datafile
'C:\ORACLE\ORADATA\LOCALRED\UNDOTBS02.DBF' offline drop
3 - alter database open
4 - drop tablespace <tablespace> including contents [cascade constraints] -
Ora-00604:error occurred at recursive SQL level 1 and Ora-04023
hi all
i am using oracle linux 5.5 and oracle Database 11g R2 while shutingdown the database i am getting
the following errors.
SQL> shutdown immediate;
Ora-00604:error occurred at recursive SQL level 1
Ora-04023: object select count(*) from reg$SQL>plz can anyone help me out?Couple of questions related to this issue:
1.Is there anything in alert log. Post last 50 lines from alert log.
2.Is there any trace / log generated by Oracle ?
3.What is Memory_Target parameter value ?
4.What is value of statistics_level parameter ?
5.Did you perform any failed upgradation ?
6.Are there any invalid objects in database ?
Generally ORA-00604 is related to insufficient size of shared pool. Now, i am googling how to get a proper value of shared pool size ? I got that there is a view v$shared_pool_advice which will tell me the answer of this question. Ok, it means now question is how do i get the proper value of shared pool from v$shared_pool_advice; i mean how do i interpret this v$shared_pool_advice view ?
No problem docs are there to answer this question : (How i got this link ? Open a new page---http://tahiti.oracle.com---selected 11.2 docs--in the left hand sided there is a search text box i entered v$shared_pool_advice and i got couple of links)
http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/dynviews_3037.htm#REFRN30239
I will read these links and now i will query this and DBA_HIST_SHARED_POOL_ADVICE views, interpret the values. Ok, but what about my original question i.e. ORA-00604 and 4023 ? If i am at this stage, understood all the values, it means now i can understand the meaning / sense of resizing of shared pool.
ALTER SYSTEM SET statistics_level=TYPICAL SCOPE=SPFILE;
You can monitor V$SGA_RESIZE_OPS to identify the range of values that Oracle is automatically resizing the DB_CACHE_SIZE and SHARED_POOL_SIZE components to. Then, pick an appropriate minimum value based on the range. There's no "magic formula". But V$SGA_RESIZE_OPS shows the sizes that Oracle has been automatically been resizing the SGA components to. The Buffer Cache Advisory section of the AWR report or V$DB_CACHE_ADVICE, V$SHARED_POOL_ADVICE, V$SGA_TARGET_ADVICE and DBA_HIST_SGA_TARGET_ADVICE are views that provide advisory information as well. Hemant @ SGA_MAX_SIZE and SGA_TARGET how to set minimum for pools
So, these are the baby steps if i ever gets ORA-00604 and ORA-04023 on my test database. Do all these and feel free to post the next doubt, i am sure you will get the correct answer.
Regards
Girish Sharma
Maybe you are looking for
-
Tek TDS3052 driver vi runs into timeout
Hello, it's me again with a problem concerning the Tek TDS3052 scope. I tried to read a measurement from it using the "tkds30xx read measurement.vi" (to be more exact, I wanted to read a voltage average value from Channel 1). Most of the aquisition p
-
Lost work on pages when computer crashed...any way to retrieve data
My granddaughter had spent three days on a written report on PAGES. She was doing other things on the computer, probably listening to music, which made her computer crash. When the computer was restarted we could not find her report. I need help! She
-
hi to all, I encountered a problem while designing a web page using JDeveloper (ADF)... Firstly i would follow these steps 1. Create DB Connection 2. Create entity tables 3. Create view objects 4. Create face-config.xml 5. Create relevant JSPX pages
-
Generate PDF Settings Disabled
Hello, I'm using RH9 on a Windows 7 64 bit machine which has Word 2010. In addition Adobe Acrobat 9.5.2 is installed. I'm trying to create a pdf file using the printed documentation in RoboHelp HTML. I check off Generate Adobe PDF in the settings b
-
Since iOS 8, my old iPad2 (March 2010) runs noticeably more slowly. However, my other devices that also run on iOS 8, iPad mini and iPhone not affected. Anyone else experiencing this issue, please and if so, any ideas?