Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a very very simple package question

Status
Not open for further replies.

askQs

Programmer
Feb 27, 2006
3
CA
i want to create a package mypkg, but keep getting err.


1 -- CREATE OR REPLACE PACKAGE mypkg
2 -- IS
3 -- i number;
4 -- END;

5 -- CREATE OR REPLACE PACKAGE BODY mypkg
6 -- IS
7 -- begin
8 -- i:=1;
9 -- END;
10 -- /

5/1 PLS-00103: Encountered the symbol "CREATE"


can anyone help me ? if I put '/' after line 4, then err will be : Encountered the symbol "/".

MANY MANY THANKS! I've spent one hour searching online for answer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top