Re: help: can't create package

From: Izabella <Izabella.Urbanek_at_afp.gov.au>
Date: Tue, 27 Oct 1998 12:14:06 +1100
Message-ID: <7136v6$hr7$1_at_platinum.sge.net>


You need / after the package specification as well as after the package body.

badstreetboy_at_my-dejanews.com wrote in message <713500$hog$1_at_nnrp1.dejanews.com>...
>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;
>
>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 - 02:14:06 CET

Original text of this message