web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Date datatype issue in SSIS

(0) ShareShare
ReportReport
Posted on by 142

I am working on data integration between DB2 and SQL server using SSIS package. From SQL query I am fetching the records and doing a lookup on DB2 data query where i have mapping on a column which is of Date datatype. In SQL the field is of date datatype but in DB2 it is always returning as a string. I tried converting the field to Date in DB2 but still it returns as string. I am new to DB2 and not sure how I can cast the field in db2 so my both mapping are of date datatype.I tried with To_date but i guess the version that i have doesn't support.Looks like the DB2 version I have is 7.

Any help is appreciated !!!

I have the same question (0)
  • LuHao Profile Picture
    40,892 on at

    Hi partner,

    I would recommend you also post this theme at SQL Server community.

    techcommunity.microsoft.com/.../SQL-Server

  • GPrasanna Profile Picture
    142 on at

    Thank you for the response. Will do that.

  • David Jennaway Profile Picture
    14,065 on at

    You can use a Data Conversion step in SSIS to convert data-types in SSIS, if that helps

  • GPrasanna Profile Picture
    142 on at

    The issue is in the Lookup query. The OELDB source query returns date field and the lookup query field returns string.So I am unable to do lookup mapping .

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans