Use parameters with CTL

Posted by Hal on Stack Overflow See other posts from Stack Overflow or by Hal
Published on 2010-12-29T09:33:50Z Indexed on 2010/12/29 9:54 UTC
Read the original article Hit count: 150

Filed under:
|

Hi.

I am using a CTL file to load data stored in a file to a specific table in my Oracle database. Currently, I launch the loader file using the following command line:

sqlldr user/pwd@db data=my_data_file control=my_loader.ctl

I would like to know if it is possible to use specify parameters to be retrieved in the CTL file.

Also, is it possible to retrieve the name of the data file used by the CTL to fill the table ?I also would like to insert it for each row. I currently have to call a procedure to update previously inserted records.

Any help would be appreciated !

© Stack Overflow or respective owner

Related posts about Oracle

Related posts about ctl