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: displaying / output / echo / print information from an sql script ?? duh

Re: displaying / output / echo / print information from an sql script ?? duh

From: <krycek6_at_wp.pl>
Date: 5 Jan 2007 01:28:45 -0800
Message-ID: <1167989325.506318.135770@i15g2000cwa.googlegroups.com>

On 4 Sty, 21:20, "jobs" <j..._at_webdos.com> wrote:
> total noob question I'm sure...
>
> In a plsql procedure I can do the following to output:
>
> dbms_output.put_line('helloworld');
>
> How do you output "helloworld" from an sql script?

I think You want to output line from sql file.

If so just include pl/sql anonymous block eq.

insert into sth values (1);

begin
dbms_output.put_line('sth');
end;
/

select 1 from dual;

If You use sql/plus to run Your scripts you can always use PROMPT command. Received on Fri Jan 05 2007 - 03:28:45 CST

Original text of this message

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