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

Re: ACCEPT in SQL*Plus

From: Niall Litchfield <n-litchfield_at_audit-commission.gov.uk>
Date: Tue, 8 Apr 2003 15:02:20 +0100
Message-ID: <3e92d66b$0$22004$ed9e5944@reading.news.pipex.net>


you need to change your anonymous block to read

begin
dbms_output.enable(100000);
dbms_output.put_line(:abc);
end;
/

"Francesco Sblendorio" <sblendorio_at_despammed.com> wrote in message news:b6ujf9$ko5$1_at_newsreader.mailgate.org...
> >> variable abc number;
> >> accept abc;
> >>
> >> begin
> >> dbms_output.put_line( :abc );
> >> end;
> >> /
>
> Thanks for your help.
> I tried the script you posted: it's executed without errors, but it
doesn't
> print nothing out, although I already launched "set serveroutput on".
>
> What's the difference between a "variable" and a "host variable"?
>
>
>
Received on Tue Apr 08 2003 - 09:02:20 CDT

Original text of this message

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