문제

I am new to SSIS and I will jump right in:

Requirements:

  • Migrate table data from Oracle to SQL Server using SSIS
  • One of these tables has 50+ million rows on the source, only migrate X number of rows based on a a date column, no staging tables allowed

What has been accomplished:

Data flow has been created, currently all rows and all tables migrate without issue.

What remains to be done:

This one particular table needs to be partially imported. How can I do this keeping the requirement in mind. The requirements are firm, SSIS a must and no staging tables are permitted.

Thank you

도움이 되었습니까?

해결책

Within your Data Flow, I would edit the Data Source object for that particular table. There I would design a SQL statement e.g.

SELECT * FROM mytable WHERE mytable.datex >= to_date ( '2014-01-01', 'yyyy-mm-dd' )

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top