DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: How to insert multiple file from SQLLOADER into one table??

  1. #1
    Join Date
    Jan 2008
    Posts
    39

    How to insert multiple file from SQLLOADER into one table??

    I want to insert multiple file from SQLLOADER into one table .
    But I want to use only one INFILE parameter in controlfile.

    How can I insert file list with use of "INFILE".

    Can I use directory name in INFILE ?

  2. #2
    Join Date
    Nov 2000
    Location
    Pittsburgh, PA
    Posts
    4,166
    Well if you are doing this with bash then you can do the following.

    Code:
    ls data*.dat |  while read line ; do 
    sqlldr file $line control sql.ctl
    done

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width