Exception in component tMSSqlInput_10 com.microsoft.sqlserver.jdbc.SQLServerException: The conversion from smalldatetime to INTEGER is unsupported.

Highlighted
One Star

Exception in component tMSSqlInput_10 com.microsoft.sqlserver.jdbc.SQLServerException: The conversion from smalldatetime to INTEGER is unsupported.

Hi Im trying to load data from mssql 2008 to Postgres.

 

mssql source has a column of data type smalldatetime and im mapping it to timestamp in postgres.

 

The below error is received,

 

Exception in component tMSSqlInput_10
com.microsoft.sqlserver.jdbc.SQLServerException: The conversion from smalldatetime to INTEGER is unsupported.

 

kindly assist

Twelve Stars

Re: Exception in component tMSSqlInput_10 com.microsoft.sqlserver.jdbc.SQLServerException: The conversion from smalldatetime to INTEGER is unsupported.

Hi,
from mssql convert your date as text.
in postgres convert text as date.
Regards,

Francois Denis

Tag as "solved" for others! Kudos to thanks!

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog