Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Compiling package header and body

fmercuryJan 5 2010 — edited Jan 12 2010
Is there any way to compile a PL/SQL package header and body in the same compilation step. We store our packages together, but it seems that I have to compile them differently. :(

If I have:
create or replace package abcd as
function aaa() return boolean;
.
.
.
end abcd;
/
create or replace package body abcd as
function aaa() return boolean is
.
.
.
end abcd;
/

If I leave the slashes in, I get an error. If I take them out, I get a different error. How can I leave these together and still compile?

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 9 2010
Added on Jan 5 2010
7 comments
6,128 views