Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: package body without a header ?!
They just did a drop package body package_body_name;
They suspect they lost the package header when they created a synonym pointing to an identical package in someone else's schema.
Feedback from the developers:
HOW TO Guide for people who like the movie Night of the Living Dead:
Create a package on account A (schema_A_at_remote_db_1)
CREATE OR REPLACE PACKAGE aatest IS
PROCEDURE test;
END;
/
CREATE OR REPLACE PACKAGE BODY aatest IS
PROCEDURE test
AS
BEGIN
null;
END;
END;
/
Create a synonym to the package on account B (schema_B_at_remote_db_2)
CREATE SYNONYM AATEST FOR aatest_at_schema_A
Then try to create the same package on account B.
You will then have a package body on B, but no spec.
--
Regards,
Patrice Boivin
Systems Analyst (Oracle Certified DBA)
Systems Admin & Operations | Admin. et Exploit. des systèmes Technology Services | Services technologiques Informatics Branch | Direction de l'informatique Maritimes Region, DFO | Région des Maritimes, MPO
E-Mail: boivinp_at_mar.dfo-mpo.gc.ca
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Boivin, Patrice J
INET: BoivinP_at_mar.dfo-mpo.gc.ca
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (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). Received on Thu Jan 31 2002 - 13:20:49 CST
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message