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

Thread: mismatch in number of columns in table definition and csv file.

  1. #1
    Join Date
    Jan 2010
    Posts
    20

    mismatch in number of columns in table definition and csv file.

    hi,
    I have some ten coulumns defined in my table. I have to load data from CSV file to the table using sql loader. But there are 11 columns in my csv file and the extra column comes in the middle of the csv file. Please let me know how to skip this column while data other than modifying the csv file.

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Just specify each desired column on control file.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  3. #3
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,492

    Cool Filler it up.

    Maybe if you check the fine Oracle® Database Utilities manual, you would find the solution in the "FILLER" option.
    "The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb

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