sql - How to automatically split a table in a SSIS package -
part of longer ssis task read in 10 mio. rows of data table "trunk" , sort 2 different ids in order join column.
it turned out sorting 10 mio. rows our server adn need solution automatically splits 10 mio. rows in table "trunk" multiple parts.
currently did manually selecting top 5 mio via sql statement executing package , selecting bottom 5 mio.
is there way either automatically or different?
while reading data source destination table (trunk), can split it. row counter between source , destination. if row count > 5 m, divert data flow next table. can create table dynamically.
Comments
Post a Comment