converted to type nvarchar

  • 1 September 2020
  • 2 replies

Please help to figuer out this error "The given value of type String from the data source cannot be converted to type nvarchar of the specified target column" while pulling data from source to stage.

Anyone Who Can Help!!!


Best answer by Syed Yousuf 20 January 2023, 00:05

View original

2 replies


Hi Rajneesh,


Sorry for a late response! Did you manage to solve the error?

If not, please respond to this message with a few more details, such as the source you are pulling data from.

The error message is indicating that a value being inserted or updated in your stage table is of type 'String' and cannot be converted to the type 'nvarchar' of the corresponding column in the table. The "nvarchar" data type is a Unicode string data type in SQL, which means it can store non-English characters. So the issue is that the string value is not compatible with the data type of the target column in the stage table. What you can try is to change the data type of your target column in the stage table to match the data type of the value being inserted or updated. You can check the source data type via the Data Source Explorer (right clicking your data source and click Data Source Explorer) 



Userlevel 3
Badge +3

As Trine has mentioned, use the Override Data Type feature. Review these guides:

For TimeXtender 6024.1 and later releases:

For legacy TimeXtender v.20 and earlier releases