Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Encountered The Symbol 'Create' - Attemping to write a PL/SQL Package
On 9 Jun 2005 17:27:05 -0700, "absinth" <absinth_at_gmail.com> wrote:
>I had some code in the package body but when taking it out I still
>encounter the error:
>
>Compilation errors for PACKAGE SIEBEL.IF_DVA_INBOUND
>
>Error: PLS-00103: Encountered the symbol "CREATE"
>
>I have the following code:
>
>CREATE OR REPLACE PACKAGE if_dva_inbound AS
>
> FUNCTION fetch_person_uid (vet_file_num in VARCHAR2)
> RETURN S_CONTACT.PERSON_UID%TYPE;
> interface_name CONSTANT VARCHAR2(30) := 'dva_inbound';
>
>END if_dva_inbound;
>
>CREATE OR REPLACE PACKAGE BODY if_dva_inbound AS
>END if_dva_inbound;
>
>Anyone give some tips?
end if_dva_inbound;
/
In both cases.
Also package bodies can't be empty.
-- Sybrand Bakker, Senior Oracle DBAReceived on Thu Jun 09 2005 - 23:32:26 CDT
![]() |
![]() |