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

Home -> Community -> Usenet -> c.d.o.server -> Re: executing sql code with SQLPlus

Re: executing sql code with SQLPlus

From: Frank van Bortel <fvanbortel_at_netscape.net>
Date: Mon, 09 May 2005 17:09:16 +0200
Message-ID: <d5nu6u$vgd$1@news4.zwoll1.ov.home.nl>


Vince <vincent@ wrote:
> Hi there !
>
> I try to execute PL/SQL script from a file using the SQLPlus command
> shell. But it doesn't seem to execute the script that might be buggy
> (despite the fact, I've tested it in the SQLWorkSheet), I removed all
> the blank lines that may cause SQLPlus to down..
> is there any way to have error feedbacks on what can occur during file
> parsing ?
>
> thanks a lot :)
> ++
> Vince

show error

And blank lines are a bad habit, not just because they can cause errors in scripts.
If you insist, use a double minus (--) in the first two positions of a line, indicating a comment line.

-- 
Regards,
Frank van Bortel
Received on Mon May 09 2005 - 10:09:16 CDT

Original text of this message

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