Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Can't CREATE PROCEDURE

Re: Can't CREATE PROCEDURE

From: -=< a q u a b u b b l e >=- <aquabubble_at_Remove.No.Parma.Ham.Remove.geocities.com>
Date: Sun, 24 Oct 1999 17:03:02 +0100
Message-ID: <7uvakj$95n$1@uranium.btinternet.com>


Pinne <pinne_at_pegit.se> wrote in message news:38131C3A.7E5351C7_at_pegit.se...
> Hi,
>
> Having problems creating ANY sp
> Example using SqlPlus:
> =>
> CREATE PROCEDURE ins_InhArt
> AS
> BEGIN
> INSERT INTO InhArt(inh_id, artnr) VALUES(1, 'test')
> END ins_InhArt;
> <=
> This allways fails with the message "procedure created with warnings"
> When I try to "exec" it i get an error message complaining about line 1,
> col 7.

There is a missing semicolon at the end of your insert statement. Better to use CREATE OR REPLACE PROCEDURE anyway. Received on Sun Oct 24 1999 - 11:03:02 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US