cancel
Showing results for 
Search instead for 
Did you mean: 

How to Load Varchar data in VarBinary Column in SQL using BODS?

0 Kudos

Hi,

I am getting error while loading data from var-char source column to var-binary column from SQL target database.

Its saying to use CONVERT functions, so please help.

Thanks

Parijatam

Accepted Solutions (1)

Accepted Solutions (1)

former_member198401
Active Contributor

As per Data Services reference guide, the conversion from varchar to varbinary(SQL Server Target data type) is not supported.

1752227 - What are the Data Type conversions for Microsoft SQL Server - Data Services

Regards

Arun Sasi

Answers (1)

Answers (1)

0 Kudos

Hi Arun ,

Thanks for your answer. My real problem is I am migrating data from Oracle (CharSet-AL32UTF8) to MS-SQL which be default stores data in UTF-16 if we select datatype as Nvarchar. So I would like to know will there be any loss of data for Chinese/Korean or Japanese text when migrating from Oracle to MS-SQL.

And the reason why I asked for VarBinary, as I read in some other link to user it for storing data in such type of column to come over such scenario.

Thanks,Parijatam

former_member198401
Active Contributor

You need to make sure that the data type of the column containing unicode characters is set to NVARCHAR(X)

When you migrate the data below will be data types in SQL Server Database

Regards

Arun Sasi