loading massive files

  • I'm loading server large data files into a db. Some records in some table have carrage returns in the data which is acting like an end of line for the import process. does anyone know a way around this? i'm using bcp

  • I can only offer a simple suggestion: use a text editor capable of handling large files and do a search and replace on the carriage returns, then reimport the files using BCP

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • captcooldaddy (4/16/2013)


    I'm loading server large data files into a db. Some records in some table have carrage returns in the data which is acting like an end of line for the import process. does anyone know a way around this? i'm using bcp

    Are you using a BCP format file?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply