January 29, 2007 at 8:32 am
Hi
I backed up a table using Data Export Wizard to another database. Table has 3 int and 1 nvarchar(max) column. Nvarchar(max) contains XML.
Now I wanted to pull back those data to another table [Using a view and the backend table is a compressed one using SQLCompress.net] using SSIS. But SSIS is throwing the following error:
Column ‘Test’ can not be converted between Unicode and Non Unicode String Data Type.
This error I faced even when I tried to use SSIS instead of Wizard to backup table also. Could any one please help how to resolve this issue?
Thanks in advance.
Regards
Utsab Chattopadhyay
January 29, 2007 at 1:35 pm
I would use a dataflow task and then insert a data conversion task.. that will handle the conversion for you..
January 29, 2007 at 1:54 pm
Hi Rich
Thanks for the response. Source is nvarchar(max) and destination is varbinary(max) [This is taken predefined by SQLCompress.net]
Could you plz tell, what data conf. will I use for the output column in the Data Conversion Task? [Actually I tried it.. but for all common cases, it tells that the data type conversion is not allowed ]
Thanks in advance.
Regards
Utsab Chattopadhyay
January 31, 2007 at 8:18 am
hmm, I set up couple tables with source and destination as what you described and did not have an error converting.. Perhaps there is something flaky with your compression? I dunno.. Sorry!
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply