bulkinsert - Prioritize Bulk Insert in a table using Union all in ssis -


i have multiple archive tables storing similar kind of data in these tables archived in month wise format. now, requirement archived data in 1 table instead of multiple tables.

i doing activity of union in ssis, seems taking random insert in destination table.

attach route taken transformation.

enter image description here

i want prioritize insert, please suggest!

you can add column "priority" each of ole db sources corresponding priority each source , after union can add sort component sorts data priority. if have lot of data - inefficient because sort component wait until source data read.

i suggest write proper source sql statement union/prioritization/sort , insert target.

also if sources on different servers can create foreach loop container iterate through source tables , inset of them target table. can use this article reference.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -