SSIS中的增量负载
我有一个输入csv文件,其中列position_Id、Asofdate等必须加载到staging表中。在我的表中,列Position_Id、AsofDate是主键。我们收到此输入文件的时间为2小时。对于Exmaple,我们今天上午10点收到文件,该文件加载到表中。两个多小时后,我们收到另一个文件,其中包含与我们接收2小时后加载到表中的文件相同的数据SSIS中的增量负载,ssis,Ssis,我有一个输入csv文件,其中列position_Id、Asofdate等必须加载到staging表中。在我的表中,列Position_Id、AsofDate是主键。我们收到此输入文件的时间为2小时。对于Exmaple,我们今天上午10点收到文件,该文件加载到表中。两个多小时后,我们收到另一个文件,其中包含与我们接收2小时后加载到表中的文件相同的数据 Now my table contains the data of the file that we recived at 10 Am and 12
Now my table contains the data of the file that we recived at 10 Am and 12 pm. At 12:10 pm we received modified input file with different data inside it. Now, my actual requirement is, before the latest input file (12:10 Pm) data is loaded int table, it has to see that only new and updated data has to be loaded into the table.
你听说过“插入”这个词吗?下面是如何升级(插入新记录和更新现有记录)的示例