Using BCP - export in utf-8 format

Padmanabhan, Venkatesh 246 Reputation points
2020-12-03T07:58:22.877+00:00

Hi Team.

I am trying to use a BCP utility to export data to a text file.

BCp command is working. However, I want the file format in UTF-8 format.

How to achieve this ?

Thanks

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,013 questions
{count} votes

Accepted answer
  1. Olaf Helper 45,111 Reputation points
    2020-12-03T09:12:16.423+00:00

    See bcp Utility => with parameter -c you can define the code page, 65001 = UTF-8

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.