storuser/storuser
set echo off
set termout off
set verify off
set feedback off
set heading off
set pagesize 0
set linesize 200
spool C:\storet\orasto2\EXPORT\stor1exp.bat
SELECT
'EXP STORUSER/STORUSER FILE=C:\storet\orasto2\EXPORT\EXP'||to_char(sysdate, 'YYYYMMDD_HH24MISS')||'.DMP OWNER=STORET1 ROWS=Y LOG=C:\storet\orasto2\EXPORT\STOREXP.LOG'
from dual;
spool off;
ho C:\storet\orasto2\EXPORT\stor1exp.bat
EXIT

