Query a database based on result of query from another database
I am using SSIS in VS 2013. I need to get a list of IDs from 1 database, and with that list of IDs, I want to query another database, ie SELECT ... from MySecondDB WHERE ID IN ({list of IDs from MyFirstDB}) . There is 3 Methods to achieve this: 1st method - Using Lookup Transformation First you have to add a Lookup Transformation like @TheEsisia answered but there are more requirements: In the Lookup you Have to write the query that contains the ID list (ex: SELECT ID From MyFirstDB WHERE ... ) At least you have to select one column from the lookup table These will not filter rows , but this