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: spooling from PL/SQL

Re: spooling from PL/SQL

From: Kapustin A.G. <kag_at_dd.vaz.tlt.ru>
Date: 1998/05/20
Message-ID: <35627876.2913@dd.vaz.tlt.ru>#1/1

Hello!

Yes, 'SET FEEDBACK OFF' works fine -
Messages like 'PL/SQL Procedure successfully...' don't appear after it.

But I have other question:

        How can I put to pl/sql-spool, for example, simple phrase ('Hello!')?

Assume I have pl/sql block:

	DECLARE
	STR VARCHAR2(100);
	BEGIN
	SELECT 'Hello!' INTO STR FROM DUAL;
	END;
	/

Before executing it, I say: 'SET FEEDBACK OFF', 'SET HEADING OFF', 'SPOOL sp.lst'.
Then I execute block, and - empty output.

How can I put 'Hello!' to spool?
Decisions like 'Try using SQL, not PL/SQL' - not a good idea.

Alexander G. Kapustin

Russia, Togliatti
AVTOVAZ Inc.


Ariel Kirson wrote:
>
> Hi Chris,
>
> Try using :
>
> SET TERMOUT OFF
> SET FEEDBACK OFF
>
> Please post an update if it solves the problem ;-)
>
> B.R.
>
> Ariel Kirson.
> Ex Libris.
Received on Wed May 20 1998 - 00:00:00 CDT

Original text of this message

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