Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to copy files with SQLPLUS

Re: How to copy files with SQLPLUS

From: Sted Alana <Sted_Alana_at_hotmail.com>
Date: Thu, 25 Apr 2002 14:24:36 GMT
Message-ID: <3cc811b3_1@news.iprimus.com.au>


spool booga.log

does this start logging? i thought spool had to do with printing.

--
Feel free to email me followup posts

N e w s N e t  C u s t o m e r
E - m a i l :  sted.alana_at_hotmail.com




"RSH" <RSH_Oracle_at_worldnet.att.net> wrote in message
news:m3Ux8.45032$Rw2.3523490_at_bgtnsc05-news.ops.worldnet.att.net...

> This begs the question of why one would be bothering to invoke SQL*PLUS
for
> O/S file copy operations; I am presuming this is because it might be
> something like copying old log files to somewhere else so they're not
> overwritten, etc?
>
> Which is quite a good idea that a lot of people forget; or even just a
> brutal
>
> spool off
> !rm booga.log
> spool booga.log
>
> to avoid the nightmare of neverending spool files.
>
> RSH.
>
> "Knut Talman" <knut.talman_at_mytoys.de> wrote in message
> news:3CC807AC.6080109_at_mytoys.de...
> > Epicentre Team A ANNECY wrote:
> >
> > > I want to include the copy command in a sql script !
> >
> >
> >
> > SQL> !cp ...
> >
> > or
> >
> > SQL> host cp ...
> >
> > or (Windoze)
> >
> > SQL> $copy ...
> >
> >
> > Regards,
> >
> > Knut
> >
>
>
Received on Thu Apr 25 2002 - 09:24:36 CDT

Original text of this message

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