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: Oracle exp switch?

Re: Oracle exp switch?

From: Igor Ushkalo <igorus_at_protek.ru>
Date: Sat, 19 Jan 2002 13:14:34 +0300
Message-ID: <a2bguj$et6$1@news.sovam.com>


Hello, Roadrunner!
You wrote on Sat, 19 Jan 2002 10:02:54 GMT:

 R> I'm using the Oracle "exp" command to do an export to a export file.
 R> Does anyone know if their is a way I can stamp the time and date into
 R> the filename of the export file?

DATE_OF_EXPORT=`date | awk '{print $01 $02 $03 $04}'` exp .... FILE=$ORACLE_SID$DATE_OF_EXPORT.dmp ....

You can do everything via UNIX shell B-)

 R> or
 R> Does the exp command have a switch that will not overwrite an
 R> existing export file of the same name?

Try to delete it before export from batch script....

Received on Sat Jan 19 2002 - 04:14:34 CST

Original text of this message

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