Hi,
Did anyone come across to create a script to Copy all tables with names begins with a given string, assume is 'AA', from Database A to Database B within the same sql server? For instance, Table AAcustomer, AAproduct ...etc. All table contents and structures should remain the same, for examples, cluster indexes and primary key constraint. Many thanks!
Regards
Stephen