Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing custom parameters to SQL Loader

Status
Not open for further replies.

cidoni

Programmer
Feb 10, 2003
3
US
Is it possible to pass parameters to the sqlloader and use them inside the control file?
something like,
>sqlldr .... empid=123

and inside the control file, i want to use the empid to be inserted to a table.
How can I use it inside the control file along with LOAD DATA?

thanks in advance,
cidoni
 
I think (not entirely sure) that you can use environment variables in the control file. At least for Unix, but probably for Winblows too. You can set the variable before you call SQL*Ldr.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top