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

Thread: sqlldr Carriage Returns

  1. #1
    Join Date
    Apr 2007
    Posts
    1

    sqlldr Carriage Returns

    Hi all,

    Quick question, I have a large text file (1.6Gb) and am trying to load it into Oracle 9i using sqlldr. Unfortunately one of the columns contains carriage returns as part of the value for that field, and as a result sqlldr treats these as new records. Is there any way for sqlldr to deal with this, or do i need to write a parser to strip these values out?

    Cheers

    Dan

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    I think there is a case in the utilities manual that shows how to do this...
    Jeff Hunter

  3. #3
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Check Oracle8i Utilites Guide, chapter 1 under "Stream Record Format"
    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.

  4. #4
    Join Date
    Feb 2007
    Posts
    212
    Hi dear, that was my nightmare before too ....but thanks to all of u here...it was solved using the HS connectivity. You know I am converting
    our old databases to Oracle. And it comprises of Access,Foxpro,MsSql. Using
    sqlldr is so tideous especially if u hit this carriage return keys found in long
    remaks columns box (mulitlined). I suggest u use Heterogeneous Connectivity, and u will live happily ever after

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