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
[EMAIL PROTECTED]


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

----------  Forwarded Message  ----------
Date: Wed, 21 Nov 2001 15:34:27 +0100


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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to