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: Printing a spool under SQL*Plus

Re: Printing a spool under SQL*Plus

From: cb <Corinna.Becker_at_memo.ikea.com>
Date: 1997/12/16
Message-ID: <01bd0a29$2e2a4160$a049100a@pc743-sode.seurope.ikea.com>#1/1

Hello thoidi8,
try this:

insert into test_table
values ('XXX','1','2','3')
/
spool filename.lis
select * from test_table
/
spool off

Corinna Becker

thoidi8 <xiongh_at_hotmail.com> wrote in article <Pine.A41.3.95.971210173604.40554A-100000_at_f1n11.spenet.wfu.edu>...
> Hi there...
>
> Could anyone helps me please....
>
> I have a select statement
> SELECT my_field from MY_TABLE;
>
> Here is my problem;
> After the MY_TABLE got updated, then spool this select statement.. For
> example;
> SPOOL /export/home/my_dir/my_dat/my_field.dat
> SELECT my_field FROM MY_TABLE;
> SPOOL OFF;
>
> I have tried with create trigger but it didn't work??? Any comment is
> welcome.... TIA
>
> e-mail: thoidi8_at_hotmail.com
>
>
> HAVE A NICE DAY. BYE ...
>
>
>
Received on Tue Dec 16 1997 - 00:00:00 CST

Original text of this message

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