jpm3121
asked on
SQL Load from within another script
Does anybody know how to execute sqlldr from within a sql shell script? Something like:
select sysdate from dual;
@ /sqlldr apps/apps@db data.ctl;
select sysdate from dual;
select sysdate from dual;
@ /sqlldr apps/apps@db data.ctl;
select sysdate from dual;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
From the SQL file you may write -
HOST sqlldr <username>/<password>@<hos tname> <your control file>
Does it help??
HOST sqlldr <username>/<password>@<hos
Does it help??
this is an example of the code.
host ('sqlldr.exe vail_wt/superman@enterpris
hope this helps :)