Re: help: can't create package

From: <mhalpeth_at_my-dejanews.com>
Date: Tue, 27 Oct 1998 16:24:34 GMT
Message-ID: <714s41$p20$1_at_nnrp1.dejanews.com>


In article <713500$hog$1_at_nnrp1.dejanews.com>,   badstreetboy_at_my-dejanews.com wrote:
> I have a simple package doesn't compile and gave me the following errors:
>
> Errors for PACKAGE TEST_PACKAGE:
> 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;
> / ----- **** this is the culprit .
>
> 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;
> /

Hmmm... One of those things in the life of a PL/Sql programer ... Nothing to do really , just insert a '/' (slash) to execute the creation of the package specification as indicated above (marked with '****')

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

Original text of this message