I am trying to design this in SSIS and could not find a way so far:
- Loop through .sql files in a folder
- Execute them and create tables from each resulting table (grab the name from the .sql file name) on a different SQL Server.
First part is rather easy but the second part (especially without knowing table sctructure before the design) is tricky.
BTW, servers are not linked.