Describe (Shift-F4) For Package Body
Hi Experts,
Just a quick query if there is an quick way of getting to view the package body from an SQL Worksheet via Shift-F4 or similar ?
MY_CUSTOM_PACKAGE (Highlight & Shift-F4) gives me the spec, I would like to view the body (preferably have the option of viewing either spec or body/have both displayed in popup window)
The only way I have found is to use Connection navigator, create a filter on packages with the package name and then open up the top level navigate to the body node and click to open it in another window.
I am using ebusiness suite with 10,000's of packages in the schema, so a simple open of packages and a manual scroll is not really an option.
Thanks
Hi Jim,
I have used the search however the key point is being able to select an object already in the editor or type it in and then describe and edit it from there. For example, I have a saved SQL which contains an anonymous block calling a packaged procedure that I have written. I have the package right in front of me in the SQL Worksheet, however all I can do with it at the moment is view the package spec...
In my experience there seems to be two types of development styles out there, those who like to browse thru gui-based navigators to find things, and others who are more editor-centric in their approach (usually people who have been developing since SQL*Plus days or people who are familiar with TOAD). At the moment SQLDev while constantly improving is very much orientate towards the former.
regards,
Brenden
Similar Messages
-
Errors for PACKAGE BODY WWV_FLOW_CUSTOM_AUTH_SSO
Hi All,
Running the below package so I can configure SSO...running into the below error.
Any help is appreciated
SQL> @custom_auth_sso_902.plb;
...wwv_flow_custom_auth_sso
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY WWV_FLOW_CUSTOM_AUTH_SSO:
LINE/COL ERROR
0/0 PL/SQL: Compilation unit analysis terminated
1/14 PLS-00304: cannot compile body of 'WWV_FLOW_CUSTOM_AUTH_SSO'
without its specificationYou need to ask Apex related questions in the Apex forum.
Include the 4 digit Oracle and Apex versions you are using when you post your problem.
I assume that you have read how to implement SSO for Apex applications to be partner applications for Oracle App Server single sign-on authentication? If not, I suggest that you search http://tahiti.oracle.com for the relevant instructions. (cannot recall the exact manual reference - I did this 3 or 4 years ago myself) -
Version 3.0.04 (04.34) Quick Outline not displaying for Package Body
All,
I am using the latest release of SQL Developer (Version 3.0.04 Build MAIN-04.34)
When I try and do a quick outline on one of the packages the package body node + sign disappears and the quick outline is empty apart from the package body name.
I have checked I have no < or > in text or anonymous pl/sql blocks within procedures as per previous posts.
The package body is over 6000 lines long but a package body which is 8000 lines displays the outline correctly.
Has anyone else experienced this behaviour ?
The package body has not changed and the quick outline worked in v2 versions of SQL Developer.
Any ideas ?
Cheers
ChrisHi, I can confirm I am having the same problem as ChrisR, I have the same SQL Developer version.
I found out that the parser have probably problems with declared functions and procedures at the beginning of the package body...
Anyway, when I was searching what's going on, I found somewhere on the internet that this bug was reported long time ago in version 2.xx and it should be fixed in version 3.
Here is the link
Package Body Tree not always showing
So I went here:
http://www.oracleimg.com/technetwork/developer-tools/sql-developer/sqldev30-bugsfixed-349809.html
to check if the bug is really fixed and the only similar issue I found was this bug:
10082343 SQL Developer not displaying package body for another user
I visited the "Known issues" site here
http://www.oracleimg.com/technetwork/developer-tools/sql-developer/sqldev30-knownissues-349810.html
to check if it's not listed there and...nothing
So I searched SQL Developer forum and found this topic...
Come on... when this is known problem, why it is not listed in Known issues section???
This way you make users search all the developer settings, all over the internet and spend hours before they find this is know problem long time... -
Hi
We are having 11.2.0.2 database on Linux 5. From last two days the export backup is getting failed with the below error.
. exporting post-schema procedural objects and actions
EXP-00008: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_i
. exporting statistics
Export terminated successfully with warnings.
When I checked the status of this package DBMS_CUBE_EXP its showing invalid. I tried to compile the body of the package. But it was throwing below error.
SQL> show errors
Errors for PACKAGE BODY DBMS_CUBE_EXP:
LINE/COL ERROR
53/5 PL/SQL: SQL Statement ignored
54/10 PL/SQL: ORA-04045: errors during recompilation/revalidation of
SYS.DBA_XDS_INSTANCE_SETS
ORA-01422: exact fetch returns more than requested number of rows
I tried to query this view or describe the above view. But it was throwing the same error.
ERROR at line 1:
ORA-04045: errors during recompilation/revalidation of
SYS.DBA_XDS_INSTANCE_SETS
ORA-01422: exact fetch returns more than requested number of rows
I couldnt get a proper solution from google regarding this view or to compile the above package.
Now we are stcuked without the backups. It would be great if you guys look into it.
Thanks
SHIYAS MYes I tried with take the export with SYS user. This time it thrown the error in the first and last too same as before.
About to export specified users ...
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_info_exp
. exporting foreign function library names for user U_20102
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user U_20102
About to export U_20102's objects ...
I ran below scripts as per u provided the link
@$ORACLE_HOME/rdbms/admin/catdpb.sql and utlrp.sql
Still it didnt get compiled.
One more thing I tried running expdp. It totally got failed by throwing the similar error. It didnt even export the tables too.
===============================================================================
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []
ORA-31642: the following SQL statement fails:
BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_METADATA", line 1245
ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPW$WORKER", line 8353
----- PL/SQL Call Stack -----
object line object
handle number name
0x1a3257060 19208 package body SYS.KUPW$WORKER
0x1a3257060 8385 package body SYS.KUPW$WORKER
0x1a3257060 12748 package body SYS.KUPW$WORKER
0x1a3257060 2546 package body SYS.KUPW$WORKER
0x1a3257060 9054 package body SYS.KUPW$WORKER
0x1a3257060 1688 package body SYS.KUPW$WORKER
0x1a8bc1630 2 anonymous block
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []
ORA-31642: the following SQL statement fails:
BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_METADATA", line 1245
ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPW$WORKER", line 8353
----- PL/SQL Call Stack -----
object line object
handle number name
0x1a3257060 19208 package body SYS.KUPW$WORKER
0x1a3257060 8385 package body SYS.KUPW$WORKER
0x1a3257060 12748 package body SYS.KUPW$WORKER
0x1a3257060 2546 package body SYS.KUPW$WORKER
0x1a3257060 9054 package body SYS.KUPW$WORKER
0x1a3257060 1688 package body SYS.KUPW$WORKER
0x1a8bc1630 2 anonymous block
Job "SYS"."SYS_EXPORT_SCHEMA_01" stopped due to fatal error at 17:58:34
========================================================================= -
Help required in compilation of package body.....
Hi ..
While taking the export i encounter the error message..
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
EXP-00056: ORACLE error 6550 encountered
ORA-06550: line 1, column 26:
PLS-00201: identifier 'XDB.DBMS_XDBUTIL_INT' must be declared
ORA-06550: line 1, column 14:
PL/SQL: Statement ignored
EXP-00056: ORACLE error 6550 encountered
ORA-06550: line 1, column 26:
PLS-00201: identifier 'XDB.DBMS_XDBUTIL_INT' must be declared
ORA-06550: line 1, column 14:
PL/SQL: Statement ignored
EXP-00000: Export terminated unsuccessfully..
SELECT status,object_id,object_type,owner,object_name
FROM dba_objects
WHERE object_name = 'DBMS_XDBUTIL_INT';
gives the output as...
status object type owner object_name
valid synonym public DBMS_XDBUTIL_INT
valid package xdb DBMS_XDBUTIL_INT
invalid package body xdb DBMS_XDBUTIL_INT
when i try to compile the invalid object...
SQL> alter package XDB.DBMS_XDBUTIL_INT COMPILE BODY;
Warning: Package Body altered with compilation errors.
SQL> sho err
Errors for PACKAGE BODY XDB.DBMS_XDBUTIL_INT:
LINE/COL ERROR
61/7 PL/SQL: Statement ignored
61/17 PLS-00306: wrong number or types of arguments in call to
'IS_HIERARCHY_ENABLED_INTERNAL'
74/7 PL/SQL: Statement ignored
74/29 PLS-00302: component 'GENERATE_TRGNM' must be declared
108/9 PL/SQL: Statement ignored
108/37 PLS-00302: component 'TRUNCATE_NAME' must be declared
123/7 PLS-00201: identifier 'SYS.DBMS_SYS_SQL' must be declared
123/7 PL/SQL: Statement ignored
135/9 PL/SQL: Statement ignored
LINE/COL ERROR
135/37 PLS-00302: component 'TRUNCATE_NAME' must be declared
153/9 PL/SQL: Statement ignored
153/33 PLS-00302: component 'TRUNCATE_NAME' must be declared
168/7 PLS-00201: identifier 'SYS.DBMS_SYS_SQL' must be declared
168/7 PL/SQL: Statement ignored
181/9 PL/SQL: Statement ignored
181/33 PLS-00302: component 'TRUNCATE_NAME' must be declared
Since the code is wrapped .. i cant do anything.. needs ur help.
sorry for explaining in such a detail...
Message was edited by:
437022Hi,
In side the Package Body,
a) invalid arguments for IS_HIERARCHY_ENABLED_INTERNAL
b) invalid components GENERATE_TRGNM, etc.
First, you need to correct the above errors and then
try to compile the Package Body
Regards,
Sailaja -
Apex new installation - HTP package body has errors
I installed apex on 10G. When i try to access the apex page, i get the following errors in log:
[Sat Oct 28 08:39:25 2006] [error] [client 192.168.1.90] [ecid: 1162049964:156.153.112.151:9580:0:9,0] mod_plsql: /pls/apex/apex HTTP-404 ORA-04063: package body "SYS.HTP" has errors\nORA-06508: PL/SQL: could not find program unit being called: "SYS.HTP"\nORA-06512: at line 7\n
When i recompile HTP package body, i get errors:
SQL> alter package htp compile body;
Warning: Package Body altered with compilation errors.
SQL> sho errors
Errors for PACKAGE BODY HTP:
LINE/COL ERROR
14/11 PLS-00323: subprogram or cursor 'TITLE' is declared in a package
specification and must be defined in the package body
15/11 PLS-00323: subprogram or cursor 'HTITLE' is declared in a package
specification and must be defined in the package body
1691/7 PL/SQL: Statement ignored
1691/7 PLS-00307: too many declarations of 'PRINT' match this call
1694/7 PL/SQL: Statement ignored
1694/7 PLS-00307: too many declarations of 'PRINT' match this call
1697/7 PL/SQL: Statement ignored
1697/7 PLS-00307: too many declarations of 'PRN' match this call
1700/7 PL/SQL: Statement ignored
1700/7 PLS-00307: too many declarations of 'PRN' match this call
1703/7 PL/SQL: Statement ignored
1703/7 PLS-00307: too many declarations of 'PRINT' match this call
1706/7 PL/SQL: Statement ignored
1706/7 PLS-00307: too many declarations of 'PRINT' match this call
1709/7 PL/SQL: Statement ignored
1709/7 PLS-00307: too many declarations of 'P' match this call
1712/7 PL/SQL: Statement ignored
1712/7 PLS-00307: too many declarations of 'P' match this call
1715/7 PL/SQL: Statement ignored
1715/7 PLS-00307: too many declarations of 'P' match this call
Any ideas...Please tell us your first name and update your forum profile with it to help us. Also, change your handle to something more reader-friendly. Thanks.
If your imported applications are set up to use some kind of SSO authenticaiton and you haven't provided for that in your environment then you'll need to change those applications' authentication scheme to something you can deal with.
Scott -
ORA-04063:package body "APPS.AP_UTILITIES_PKG" has errors
Hi,
AP_UTILITIES_PKG is showing invalid status.when i m trying to compile giving below error.
SQL> show error
Errors for PACKAGE BODY AP_UTILITIES_PKG:
LINE/COL ERROR
1033/9 PL/SQL: Statement ignored
1033/21 PLS-00905: object APPS.FND_FLEX_KEY_API is invalid
1046/9 PL/SQL: Statement ignored
1046/22 PLS-00905: object APPS.FND_FLEX_KEY_API is invalid
1059/9 PL/SQL: Statement ignored
1059/22 PLS-00905: object APPS.FND_FLEX_KEY_API is invalid
1421/9 PL/SQL: Statement ignored
1421/21 PLS-00905: object APPS.FND_FLEX_KEY_API is invalid
1434/9 PL/SQL: Statement ignored
1434/21 PLS-00905: object APPS.FND_FLEX_KEY_API is invalid
1447/9 PL/SQL: Statement ignored
What i know there is a synonym FND_FLEX_VALUE_SET this synonym dropped After that many forms of the application is getting error.when i m trying to create as below it is saying "cannot create a synonym with same name as object"
It is PRODUCTION issue kindly update me it would be appreciated
Thanks
Edited by: userpat on Jul 18, 2010 5:49 AMissue occured: EBS 12.0.3 AIX 5.3 DB 10.2.0.2
select owner,object_name,object_type from dba_objects where object_name like 'FND_FLEX_VALUE_SET%'
OWNER OBJECT_NAME OBJECT_TYPE
APPLSYS FND_FLEX_VALUE_SETS_S SEQUENCE
APPS FND_FLEX_VALUE_SETS_S SYNONYM
APPLSYS FND_FLEX_VALUE_SETS TABLE
APPLSYS FND_FLEX_VALUE_SETS_U1 INDEX
APPLSYS FND_FLEX_VALUE_SETS_U2 INDEX
FYI there are two test server for above because of power failure the system went down so i m not able to connect right now so find below output of other PRODUCTION instance that is 11.5.9 AIX 5.2 DB 9.2.0.4
select owner,object_name,object_type from dba_objects where object_name like 'FND_FLEX_VALUE_SET%'
OWNER OBJECT_NAME OBJECT_TYPE
APPLSYS FND_FLEX_VALUE_SETS TABLE
APPLSYS FND_FLEX_VALUE_SETS_S SEQUENCE
APPLSYS FND_FLEX_VALUE_SETS_U1 INDEX
APPLSYS FND_FLEX_VALUE_SETS_U2 INDEX
APPS FND_FLEX_VALUE_SETS SYNONYM
APPS FND_FLEX_VALUE_SETS_S SYNONYM
Kindly update me -
hello. i ran in to little issue today. After patch 13839550 was applied to one of our test enviroments, we get one invalid package body. but when i try to compile it shows warrning!
SQL> alter package APPS.AP_ACCTG_DATA_FIX_PKG compile body;
Warning: Package Body altered with compilation errors.
SQL>
SQL> show err
Errors for PACKAGE BODY APPS.AP_ACCTG_DATA_FIX_PKG:
LINE/COL ERROR
3899/3 PL/SQL: SQL Statement ignored
3899/3 PLS-00394: wrong number of values in the INTO list of a FETCH
statement
Could you please explain what should i do?
Database - 11.2.0
eBS - 12.1
Linux x86
Thxi dont understand how can ichange something here?In this case, you can't.
If this is one of the standard packages built into an Oracle Apps database, you need to log a tar/sr with Oracle support. (which will probably result in more patches) -
How to compile HTMLDB_SITE_ADMIN_PRIVS invalid package body?
Hi,
I am trying to grant HTMLDB Administrator privilege to assign the other Oracle default schemas to workspaces by executing the following procedure.
SQL> EXEC HTMLDB_SITE_ADMIN_PRIVS.UNRESTRICT_SCHEMA(p_schema => 'SYSTEM');
However, the package body is corrupted. As the package body is wrapped, I cannot compile it manually.
FLOWS_020000@PROD> ALTER PACKAGE HTMLDB_SITE_ADMIN_PRIVS COMPILE BODY;
Warning: Package Body altered with compilation errors.
FLOWS_020000@pPROD> SHOW ERRORS;
Errors for PACKAGE BODY HTMLDB_SITE_ADMIN_PRIVS:
LINE/COL ERROR
0/0 PLS-00753: malformed or corrupted wrapped unit
I'd greatly appreciate if you can provide any suggestion or advice for me to compile or reload this wrapped package body.
Thanks,
DeborahHi,
I am trying to grant HTMLDB Administrator privilege to assign the other Oracle default schemas to workspaces by executing the following procedure.
SQL> EXEC HTMLDB_SITE_ADMIN_PRIVS.UNRESTRICT_SCHEMA(p_schema => 'SYSTEM');
However, the package body is corrupted. As the package body is wrapped, I cannot compile it manually.
FLOWS_020000@PROD> ALTER PACKAGE HTMLDB_SITE_ADMIN_PRIVS COMPILE BODY;
Warning: Package Body altered with compilation errors.
FLOWS_020000@pPROD> SHOW ERRORS;
Errors for PACKAGE BODY HTMLDB_SITE_ADMIN_PRIVS:
LINE/COL ERROR
0/0 PLS-00753: malformed or corrupted wrapped unit
I'd greatly appreciate if you can provide any suggestion or advice for me to compile or reload this wrapped package body.
Thanks,
Deborah -
ORA-04063: package body "SYS.INITJVMAUX" has errors
Hi,
I am upgrading the database from 9.2.0.1 to 9.2.0.6 on microsoft windows xp version 2002
Following the readme of the patch 3948480 Oracle9i Patch Set Notes Release 2 (9.2.0.6.0) Patch Set 5 for Windows (32-Bit)
When doing the Postinstallation Tasks step 8.2.2 Upgrade the Database step 6 running the catpatch.sql script getting the following error in the log file
=====================================================
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY INITJVMAUX:
LINE/COL ERROR
23/1 PL/SQL: Statement ignored
23/19 PLS-00201: identifier 'DBMS_ASSERT.NOOP' must be declared
84/4 PL/SQL: Statement ignored
84/22 PLS-00201: identifier 'DBMS_ASSERT.NOOP' must be declared
call initjvmaux.drp('drop table java$rmjvm$aux')
ERROR at line 1:
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "SYS.INITJVMAUX" has errors
==========================================================
Regards,Check out status of components from dba_registry. In case you are not using JVM in your database and only java component is invalid, then you can ignore the error. Else you will be required to load java manually. Check metalink for same,
-Amit
http://askoracledba.wordpress.com -
XdbConfiguration.sql giving errors for package XDB_CONFIGURATION
Hi,
I am getting following errors(at the bottom) while running xdbConfiguration.sql before installing the demo.
I am logged in as sys user(sysdba) and using running
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
on Windows2000.
Is the wrong version of Oracle. Do I have have 9.2.4.0.
Thanks in advance for help.
Om Soni
Errors for PACKAGE BODY XDB_CONFIGURATION:
LINE/COL ERROR
51/6 PL/SQL: Statement ignored
51/54 PLS-00302: component 'DELETE_FORCE' must be declared
56/4 PL/SQL: SQL Statement ignored
56/20 PL/SQL: ORA-22970: name does not correspond to an object viewHi ,
I upgraded to 9.2.0.4.0. The error still shows up while running the xdbConfiguration.sql.
The following errors show up:
Errors for PACKAGE BODY XDB_CONFIGURATION:
LINE/COL ERROR
51/6 PL/SQL: Statement ignored
51/54 PLS-00302: component 'DELETE_FORCE' must be declared
56/4 PL/SQL: SQL Statement ignored
58/9 PL/SQL: ORA-00942: table or view does not exist
I got rid of first two error by removing dbms_xdb.DELETE_FORCE from line
dbms_xdb.deleteResource(targetResource,dbms_xdb.DELETE_FORCE);
Last two error are at line :
select make_ref(DATABASE_SUMMARY,'DATABASE_SUMMARY')
into xmlref
from DATABASE_SUMMARY;
Looking at the script DATABASE_SUMMARY is not a object.
May be the script has a bug in it.
-Om -
Hi All,
I am getting the following errors when I am trying to connect with datapump.My db is 10g and os is linux.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
ORA-31626: job does not exist
ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at "SYS.DBMS_LOGSTDBY", line 24
ORA-06512: at "SYS.KUPV$FT", line 676
ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
ORA-06508: PL/SQL: could not find program unit being called
When I tried to compile this package I am getting the following error
SQL> alter package DBMS_INTERNAL_LOGSTDBY compile body;
Warning: Package Body altered with compilation errors.
SQL> show error
Errors for PACKAGE BODY DBMS_INTERNAL_LOGSTDBY:
LINE/COL ERROR
1405/4 PL/SQL: SQL Statement ignored
1412/38 PL/SQL: ORA-00904: "SQLTEXT": invalid identifier
1486/4 PL/SQL: SQL Statement ignored
1564/7 PL/SQL: ORA-00904: "DBID": invalid identifier
1751/2 PL/SQL: SQL Statement ignored
1870/7 PL/SQL: ORA-00904: "DBID": invalid identifier
Can anyony suggest/guide me how to resolve the issue.
Thanks in advanceSQL> SELECT OBJECT_TYPE,OBJECT_NAME FROM DBA_OBJECTS
2 WHERE OWNER='SYS' AND STATUS<>'VALID';
OBJECT_TYPE OBJECT_NAME
VIEW DBA_COMMON_AUDIT_TRAIL
PACKAGE BODY DBMS_INTERNAL_LOGSTDBY
PACKAGE BODY DBMS_REGISTRY_SYS
Thanks -
WB_RT_PROFILE_SERVICE package body does not compile
Hi,
When recompiling the WB_RT_PROFILE_SERVICE package body I get following messages:
Compilation errors for PACKAGE BODY REP_OWNER.WB_RT_PROFILE_SERVICE
#13#10Error: PLS-00201: identifier 'WB_RT_DP_FK' must be declared
Line: 1062
#13#10Error: PL/SQL: Statement ignored
Line: 1062
#13#10Error: PL/SQL: ORA-00904: "CONSTRAINT_ID": invalid identifier
Line: 2004
#13#10Error: PL/SQL: SQL Statement ignored
Line: 2004
#13#10Error: PLS-00364: loop index variable 'C' use is invalid
Line: 2009
#13#10Error: PL/SQL: Statement ignored
Line: 2009
#13#10Error: PLS-00364: loop index variable 'C' use is invalid
Line: 2032
#13#10Error: PL/SQL: Statement ignored
Line: 2032
#13#10Error: PLS-00364: loop index variable 'C' use is invalid
Line: 2033
#13#10Error: PL/SQL: Statement ignored
Line: 2033
#13#10Error: PLS-00364: loop index variable 'C' use is invalid
Line: 2034
#13#10Error: PL/SQL: Statement ignored
Line: 2034
#13#10Error: PLS-00364: loop index variable 'C' use is invalid
Line: 2035
#13#10Error: PL/SQL: Statement ignored
Line: 2035
#13#10Error: PLS-00364: loop index variable 'C' use is invalid
Line: 2036
#13#10Error: PL/SQL: Statement ignored
Line: 2036
#13#10Error: PLS-00364: loop index variable 'C' use is invalid
Line: 2037
#13#10Error: PL/SQL: Statement ignored
Line: 2037
#13#10Error: PLS-00364: loop index variable 'C' use is invalid
Line: 2038
#13#10Error: PL/SQL: Statement ignored
Line: 2038
As far as I am aware of, no one touched any code.
Does anyone know how to correct this?
Does this prevent deploying objects.
Thanks in advance,
Regards,
ReneFixed this way:
Altered the script:
• Based on Wb_rt_profile_se.sql, created a drop_wb_rt_profile_se_fixed.sql to drop everything created by wb_rt_profile_se.sql.
• Based on Wb_rt_profile.sql, create wb_rt_profile_fixed.sql to remove partitioning.
What happened seemed to be:
• Wb_rt_profile_se.sql was run during the installation.
• Then wb_rt_profile_service.sql referenced objects created by wb_rt_profile.sql, or there was no wb_rt_prifile_service_se.sql.
Run drop_wb_rt_profile_se_fixed.sql.
Then run Wb_rt_profile_fixed.sql
Recompile all objects.
OK. -
Package specification and must be defined in the package body
Hi All
While creating bellow Package, following error occured. Plese guide me.
SQL> ;
1 create or replace PACKAGE Fresh_Movement IS
2 Procedure Opening_cx (P_Yeay Number,p_Week NUmber);
3* END Fresh_Movement;
SQL> /
Package created.
CREATE OR REPLACE PACKAGE BODY Fresh_Movement IS
Procedure Opening_Cx (pYear Number, pWeek in number) Is
Cursor Cx_nCou Is Select C.LOCATION_KEY,NVL(C.CUSTOMER_CATEGORY_FRESH,'X') Category,Count(C.CUSTOMER_CATEGORY_FRESH)nCou
From Customers C
Where Trunc(C.Start_date) <= ( Select Trunc(max(END_DATE)) From CUSTOMER_CALENDAR
where ALMARAI_YEAR = pYear and ALMARAI_WEEK= pWeek - 1 )
AND Active = 'Y'
Group by C.LOCATION_KEY,C.CUSTOMER_CATEGORY_FRESH
Order by 1,2;
Begin
For Tmp_rec1 In Cx_nCou Loop
Insert Into Trading_fresh_Movement (YEAR,WEEK,LOCATION_KEY,CX_CATEGORY,COUNT,COLUMN_TYPE,SEQ )
Values (pYear,pWeek,Tmp_rec1.LOCATION_KEY,Tmp_rec1.Category,Tmp_Rec1.nCou,'OPN',1);
End Loop;
Commit;
End Opening_Cx;
END;
Warning: Package Body created with compilation errors.
SQL> show error
Errors for PACKAGE BODY FRESH_MOVEMENT:
LINE/COL ERROR
2/12 PLS-00323: subprogram or cursor 'OPENING_CX' is declared in a
package specification and must be defined in the package body
SQL>The signature of the procedure in the specification and in the body must be the same. This includes the name of the parameters.
Change the specification to
create or replace PACKAGE Fresh_Movement IS
Procedure Opening_Cx (pYear Number, pWeek in number);
END Fresh_Movement;
/ -
Package body wb_rtu_transaction_handler in in-valid state
Hi,
On installing owb v 11.1 , i found the package body wb_rtu_transaction_handler in an in-valid state. on compilation i get the message
Error(2,39): PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following: is as compress compiled wrapped The symbol "compress" was substituted for "end-of-file" to continue.
Can anyone tell me how to get this package body to valid status.
Many thanks
Ravi
..SQL> alter package WWV_FLOW_ITEM compile body;
Warning: Package Body altered with compilation errors.
Hi Joel,
Here the error I got in SQL*Plus (user flows_010600) and after having made a "desc" command (like mentioned in the bug PL/SQL 2893533
SQL> alter package WWV_FLOW_ITEM compile body;
Warning: Package Body altered with compilation errors.
SQL> show error
Errors for PACKAGE BODY WWV_FLOW_ITEM:
LINE/COL ERROR
15381/1 PLS-00103: Encountered the symbol "2136"
SQL>
Any new idea ?
Thxs
Yves
Maybe you are looking for
-
Dv4-1275mx Replaced Hard Drive Windows Vista System Recovery Failure
I have a HP dv4 1275mx laptop and I just replaced the hard drive. I got the Vista 64-bit hp system recovery discs from HP but the recovery has failed 4 times. The hard drive is brand new and has more space than the old one. It's a Western Digital
-
Folks, im making a program using PRO C++, but i receiving this error: Error occured..err_handler() -> ORA-01480: trailing null missing from STR bind value.... I think it is caused by a OUT variable....
-
Hi, Does anyone know how to make a movieclip scroll with the mouse wheel with a slowdown (makes the movie clip look like its slowing down) function so that with one scroll of the wheel the movie clip will move down then slow down and with another scr
-
hi every body i have emp table with two columns empid and empname and i save all pictures on d:\emppictures folder with empid as picture name know i want to display employee pictures in the report with each employee record kindly any body tell me how
-
Importing iPhone video: I can import iPhone 4 but not iPhone3 video
Hey, all. Two Final Cut Pro X 10.0.8 questions: QUESTION 1: I am running Final Cut Pro X 10.0.8 with OS 10.8.3, so I am up to date. I can easily import video from my iPhone 4 vie USB cable into Final Cut Pro X. But Final Cut will not find an iPhone 3