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: new oracle user

Re: new oracle user

From: Arto Viitanen <arto.viitanen_at_csc.fi>
Date: Thu, 05 Jan 2006 12:58:34 +0200
Message-ID: <43bcfbda$0$10073$ba624cd0@newsread.funet.fi>


tonz wrote:
> i want to run a pl/sql program from sql plus
> how is it possible?

It depends what you mean by "PL/SQL program"?

If it is a procedure (or procedure in package), use

exec procedure

If you are writing the program, use

begin

   the program code
end
/

But on that case, I recommend you type the program on a file and call it with @, like

@file.sql

So if something went wrong, you could edit the file

--
Arto Viitanen CSC
Espoo, Finland
Received on Thu Jan 05 2006 - 04:58:34 CST

Original text of this message

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