Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS Error: Can not convert between unicode and non-unicode string data types (Oracle to MS SQL 2008R2)

$
0
0

Hello,

By using SSIS (VS 2008), the target is to migrate data from a table in Oracle to a table in MS SQL 2008 R2.

In the Data flow Task, OLE DB Source gets the field in "string[DT_STR]" and the OLE DB Source filed in "Unicode string [DT_WSTR]". The process gets an error, which is: "Column XXX can not convert between unicode and non-unicode string data types".

[Source filed data type: Varchar2(30) and Target filed data type: NVarchar(30)]

Used a "data conversion" between source and target for the field XXX but it did not help.

Changing the data type of the field XXX in the target table to varchar can solve the problem. However, I want to keep on using nvarchar as the target field data type.  Any ideas?


Sedso


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>