character type problem using bcp command

  • I am using bcp command to download data from sql server.

    In sql server database there is data in other language

    like "Account Éàèçöäüêâôñ 13154 "

    After using bcp command the data that gets copied to file is

    "Account …Ї”„ˆƒ“¤ 13154"

    Pls. let me know which bcp option should be selected so that my data doesn't get corrupted.

    Thanks to know

  • Without more detail, i'll take a guess and say it's a collation issue. You may have to create a format file to properly translate the data. Do a search on "bcp format file collation" and see what you find and see if that helps.

  • "RAW"

    --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 3 (of 3 total)

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