BCP Disadvantage

  • Hi,

    I'm going to design an DTS where BCP is used for transfering the data from Database to Text File. Is there any disadvantage in using this BCP???? or any other method for transfering the data to text file.???

  • Yes... it does have a disadvantage similar to many other programs that import data... the date must be formatted consistently from row to row including the header, if there is one. For example, there must always be the same number of delimiters. If it's a non-delimited fixed field format, each row must be the same length.

    --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 2 posts - 1 through 1 (of 1 total)

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