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