help: can't create package

From: <badstreetboy_at_my-dejanews.com>
Date: Tue, 27 Oct 1998 00:43:44 GMT
Message-ID: <713500$hog$1_at_nnrp1.dejanews.com>



[Quoted] [Quoted] I have a simple package doesn't compile and gave me the following errors:

Errors for PACKAGE TEST_PACKAGE:
[Quoted] [Quoted] 5/1 PLS-00103: Encountered the symbol "CREATE"

What is this err about? thanks.

---
create package test_package is
        procedure p1(input_num integer);
end test_package;

create package body test_package is

procedure p1(input_num integer)
is
result integer;
begin
result:=input_num;
dbms_output.put_line('result: ' || result);
end p1;

end test_package;
/

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
Received on Tue Oct 27 1998 - 01:43:44 CET

Original text of this message