If the file name changes, don't you already have to edit the file to specify a new INFILE?
Main Topics
Browse All TopicsI have a control file for sql loader but I have one last problem. One of the columns I am inserting into I want as the file name. I can do thise fine using the CONSTANT keyword but I would like a way of automatically doing this so I don't have to edit the file each time I run the script.
Same as this question, but I need a POSITIVE answer ( not involving scripts etc)
http://www.experts-exchang
Maximum points -))
Cheers
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
As far as I know, that ability to specify a variable file name for SQL*Loader has been a requested enhancement for some years and Oracle versions, but its not here yet. That may not be the answer you were hoping for, but I don't think there is a way to do this yet. One of my reasons for posting this comment is so that I will be notifed by e-mail of other comments posted here, so if someone has found a way to do this, I can learn too.
Business Accounts
Answer for Membership
by: rajaloysiousPosted on 2005-04-20 at 09:19:17ID: 13826114
Further details:
I am running Oracle 9i version and the environment is Sun Solaris
cheers