export command in oracle11g [message #684385] |
Sun, 23 May 2021 07:10  |
knd.prasad
Messages: 35 Registered: December 2009 Location: HYDERABAD
|
Member |
|
|
Hi
exp system/manager file= file_na.dmp log=emp_exp.log full=y direct=y STATISTICS=none
I want to set the file= date.dmp (example : file =23052021_0539pm.dmp)
Thanks
|
|
|
|
Re: export command in oracle11g [message #684387 is a reply to message #684385] |
Sun, 23 May 2021 08:35   |
John Watson
Messages: 8976 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
This is a Windows example I use sometimes, though whether it works for you is dependent on your OS localization:C:\Users\john>
C:\Users\john>set file_name=%date:~6,4%-%date:~3,2%-%date:~0,2%-%time:~0,2%%time:~3,2%%time:~6,2%.dmp
C:\Users\john>echo %file_name%
2021-05-23-143431.dmp
C:\Users\john>
|
|
|
|