SqlBulkCopy class

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
When using the bcp or BULK INSERT commands in Sql Server it is advised to code for the process to import in Unicode if you intend on allowing other languages. This was done with a -w or DATAFILETYPE <b>=</b> <b></b>widechar<b> </b>option, respectively. I see no property in the SqlBulkCopy class and cannot find whether or not this class defaults to unicode or not or how to set it.

Anyone know?



View the full article
 
Back
Top