Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
SQL
I use Visual Studio's, integration project to load SQL Server table into <pre lang="xml">excel file. In the Sql Table, i have defined columns as varchar. When i try to load Sql table data with parts defined in scheme as string, i get an error &quot;cannot convert between unicode and non-unicode string data type.
Posted
Comments
Hidayat.Rahman 7-Dec-13 5:38am    
Check Out the link below it will help
http://www.sql-server-performance.com/forum/threads/error-on-ssis-source-destination-cannot-convert-between-unicode-amp-non-unicode-string-data-type.25747/
Boothalingam 7-Dec-13 6:07am    
Thanks ...I got it

1 solution

This message indicates that a data flow component is trying to pass Unicode string data to another component that expects non-Unicode string data in the corresponding column, or vice versa.
Check below links for solution

DTS_E_CANNOTCONVERTBETWEENUNICODEANDNONUNICODESTRINGCOLUMN[^]

Excel Destination Error: Column"xx" cannot convert between unicode and non-unicode string data types[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900