Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: A problem
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...
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).
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
![]() |
![]() |