sql server - SSIS Cross-DB "WHERE IN" Clause (or Equivalent) in Azure -


i'm trying build data flow in ssis select records mapping table id column exists in related item table. there 2 complications:

  1. the 2 tables in different databases on different servers.
  2. the databases in azure, i've read linked servers not supported.

to more clear, job migrate data staging environment production. want push lookup records prod if associated item ids in there. here's psudo-tsql give clear goal of i'm trying achieve:

select * [staging_server].[sourcedb].[dbo].[lookup] l l.[id] in (     select p.[item]     [production_server].[targetdb].[dbo].[item] p ) 

i haven't found way create in ssis. think i've created work-around involves sorting both tables , performing merge join, sorting both sides unnecessary hit on performance. i'm looking more direct , intuitive design seemingly simple data flow.

doing in data flow, you'd have source query, sans filter, fed lookup component subquery.

the challenge ssis on-premises means going pull of data out of stage azure server running ssis , push prod azure instance.

that's lot of network activity , i'm reading azure pricing guide, guess long have appropriate dtus, you'd fine. in day, charged reads , not writes idiom push data target server , comparison there, elendadba mentions. suggestion i'd make on implementation avoid temporary tables or ad-hoc creation/destruction of them. implement physical table , truncate , reload prior transmission production.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -