Issue importing data with date from CRM

不想你离开。 提交于 2019-12-08 12:35:17

问题


Recently i'm importing data from CRM dynamics 11 to our sql database on daily basis. I have created an SSIS package which does the import. My issue is in CRM i have member's date of birth as "1990-04-25" but when i import it to our sql database, it comes as "1990-04-24 23:00:00.000". The issue is it deduct one day back from the date of birth. The issue is only with those date of birth which has date time attached to it.

Any solution to the above issue please?

NOTE :- my table data type is - datetime , and same goes for the CRM.

date flow i'm using in ssis is an add on from kingswaysoft.

Kind Regards...

Solution :- Solution can be found here

According to the description, the issue is that BisStartDate column displays one hour before the actual datetime in SSIS.

To work around this issue, we can use a Derived Column that contains the correct datetime to replace the BisStartDate column, then use the new BisStartDate column to do the following transformations. The following screenshot is for your reference:

来源:https://stackoverflow.com/questions/51595348/issue-importing-data-with-date-from-crm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!