I have a situation where I need to extract tables from one SQL database into another SQL database. There are about 100+ tables. I would like to create a parameterized script for the SELECT and FROM tables so that the one script can be used to loop through all the tables.
Is this possible? I would really appreciate any assistance.