-4

I have a query to extract data from server. The server contains millions of data and I need to filter out only 56000 of Doc IDs out of those. Could anyone help me build an SSIS? I cannot use Merge here since I would ave to extract the entire data from the server and then merge it with 56000 IDs.

1 Answers1

1

Put your 56000 IDs into a table called e.g. IDsWanted on the server. Join your data table to IDsWanted in an SQL query, and use this as the source for your SSIS operations.

Obviously a PK on column IDsWanted.ID will help performance of this query.

SebTHU
  • 1,385
  • 2
  • 11
  • 22