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 140

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 !!!

  • GPrasanna Profile Picture
    GPrasanna 140 on at
    RE: Date datatype issue in SSIS

    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 .

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Date datatype issue in SSIS

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

  • GPrasanna Profile Picture
    GPrasanna 140 on at
    RE: Date datatype issue in SSIS

    Thank you for the response. Will do that.

  • LuHao Profile Picture
    LuHao 40,876 on at
    RE: Date datatype issue in SSIS

    Hi partner,

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

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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans