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@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@remote_db_2)

CREATE  SYNONYM AATEST FOR aatest@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: [EMAIL PROTECTED]
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Boivin, Patrice J
  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