Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> ACCEPT in SQL*Plus
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