문제

I have bcp version#11.0.1790.0 installed in Linux machine. I want to "bcp in" data to SQL Server from a data file. My data file is in UTF-8 format and I want to load the data to sql server in ISO_1 format. For this I tried using -C option which is used to specify the code page. But bcp says :

-C option is not supported in this release.

Is there any alternative for the -C option. Is there any specific reason that -C option is not supported in bcp for linux but supported in bcp for Windows?

Thanks,

Manoj

도움이 되었습니까?

해결책

My problem is solved I created the data file in UTF8 and loaded in the same format. '-C' option was not required with bcp's Linux version. However when using windows Bcp then only we need to specify code page..

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top