Congratulations to all the winners of April 2013, they have won INR 3400 cash and INR 20147 worth prizes !
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 61983 |  Welcome, Guest!   Register  Login
 Home > Blogs > SQL Server > Cannot convert between unicode and non-unicode string data types ...
Jvprabhusanthi

Cannot convert between unicode and non-unicode string data types

 Blog author: Jvprabhusanthi | Posted on: 5/3/2012 | Category: SQL Server Blogs | Views: 823 | Status: [Member] | Points: 75 | Alert Moderator   



   

While trying to push the data from Flat file to SQL Server I got the error,

" Cannot convert between unicode and non-unicode string data types "  - ->

Solution 1 :- The issue is due to mismatch of the source column and the destination column. We can use derived column/DataConversion tools to map to appropriate data type.

Solution 2 :- For time being, I've changed the destination table columns from unicode(nvarchar) to varchar. Since, it doesn't have any impact on my system.

I am happy with solution 2.

Cheers,
Venkatesan Prabu .J
Head, KaaShiv InfoTech



Cheers,
Venkatesan Prabu .J
Head, KaaShiv InfoTech
http://kaashivinfotech.com/Ebooks.aspx
Found interesting? Add this to:


Experience:9 year(s)
Home page:http://www.dotnetfunda.com
Member since:Tuesday, May 01, 2012
Level:Starter
Status: [Member]
Biography:
>> Write Response - Respond to this post and get points

More Blogs

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/20/2013 11:35:37 AM