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 -> ACCEPT in SQL*Plus

ACCEPT in SQL*Plus

From: Francesco Sblendorio <sblendorio_at_despammed.com>
Date: Tue, 8 Apr 2003 11:41:44 +0200
Message-ID: <b6u5dl$qte$1@newsreader.mailgate.org>


I have to write an interactive script within SQL*Plus, so I tried this code:

   declare
   ciao varchar(50);
   begin
   accept ciao;
   dbms_output.put_line(ciao);
   end;
 /

but SQL*Plus seems not to recognize the ACCEPT keyword, although it can be launched from the command line:

SQL> accept ciao

...and, in this case, I don't know how it can be useful.... Can anyone help me?

Thanks in advance. Received on Tue Apr 08 2003 - 04:41:44 CDT

Original text of this message

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