Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: package body without a header ?!

RE: package body without a header ?!

From: Mercadante, Thomas F <Thomas.Mercadante_at_Labor.State.Ny.Us>
Date: Thu, 31 Jan 2002 10:13:41 -0800
Message-ID: <F001.0040255C.20020131100032@fatcity.com>

Patrice,

Did you try and re-create a package body that matches the header (even a skeletal one) and then drop the package?

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Thursday, January 31, 2002 12:41 PM To: Multiple recipients of list ORACLE-L

We just migrated a database, and as part of our validation we noticed that we had a package body in one schema with no package header.

This is the case both in the old db and in the new one, exp / imp faithfully recreated the decapitated package body in the new db.

Change Manager did not report it as a problem, since the situation is the same in both databases.

DROP PACKAGE drops both the header and the package body. DROP PACKAGE BODY drops just the package body.

I don't think there is a DROP PACKAGE HEADER command.

Would anyone know how someone could drop just the header of a package, but not the body?

Perhaps via objects privileges (?).

This is weird.

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 Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Mercadante, Thomas F INET: Thomas.Mercadante_at_Labor.State.Ny.Us 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: 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 - 12:13:41 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US