简体   繁体   中英

Copying urdu text from db columns while exporting csv using bcp utility

I am exporting data from tables using BCP utility. Some columns in db contains urdu language text. When the file is exported I only see ??? in place of urdu text. I am not able to figure out what's wrong ? what am I missing ?

thanks in advance

Use -w switch to allow bcp copy unicode data.

Something like......

bcp MyDB.dbo.TableName OUT D:\Folder\TestFile.txt -T -w

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM