English 中文(简体)
仅加新记录
原标题:Extract and load only new records

I have simple SSIS data flow which extract records from table A and load them to the table B. Table A and Table B has unique key.

只提取和装载新记录的最佳途径是什么?

最佳回答

我发现。 LOOKUP-task 解决办法,但我仍在寻找另一种好的解决办法。

问题回答

(A) 如果记录在顺序独特钥匙上,核对表B中的最高记录,然后从表A中选择高于这一数值的记录。

(B) 每一行迭代,但某些表/xml档案中独有的关键除外。 在任务开始时利用这一价值从表A中挑选记录。





相关问题
Export tables from SQL Server to be imported to Oracle 10g

I m trying to export some tables from SQL Server 2005 and then create those tables and populate them in Oracle. I have about 10 tables, varying from 4 columns up to 25. I m not using any constraints/...

SQL server: Can NT accounts be mapped to SQL server accounts

In our database we have an SQL server account that has the correct roles to access some of the databases. We are now switching to windows authentication and I was wondering if we can create a NT user ...

SQL Server 2000, ADO 2.8, VB6

How to determine if a Transaction is active i.e. before issuing Begin Transaction I want to ensure that no previous transaction are open.. the platform is VB6, MS-SQL Server 2000 and ADO 2.8

热门标签