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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: A problem

RE: A problem

From: MacGregor, Ian A. <ian_at_SLAC.Stanford.EDU>
Date: Mon, 26 Nov 2001 10:09:36 -0800
Message-ID: <F001.003CCEA0.20011126092521@fatcity.com>

There is no indication of the platform involved. On UNIX one can set an environment variable in a shell script
EXPORT_DATE= `date + "%d%m%y"`
export EXPORT_DATE

and then use that variable in the Oracle export command's file directive. For instance,  

$ORACLE_HOME/BIN/exp file=<name>$EXPORT_DATE.dmp.

The above does not include the century. There is a format marker for centuries, but it does not seem to work on our machines.

I'm not sure what you want for <name>. In other words how does it vary from export to export, and are these variations in any order or completely random.

Ian MacGregor
Stanford Linear Accelerator Center
ian_at_slac.stanford.edu

-----Original Message-----
Sent: Wednesday, November 21, 2001 8:25 AM To: Multiple recipients of list ORACLE-L

I have created a job to export a user shema How can I tell Oracle each time it make the export to use lets say <name><date>.dmp
I mean for example if today is 21.11.2001 the exported file whoud have name21112001.dmp or something like this...



--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Jared Still
  INET: jkstill_at_cybcon.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: MacGregor, Ian A.
  INET: ian_at_SLAC.Stanford.EDU
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Nov 26 2001 - 12:09:36 CST

Original text of this message

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