Compiling package header and body
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!