Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Programtically copy structure and indexes/constraints from one SQL Server to another

$
0
0

I have the need to copy the structure and indexes from one SQL To another SQL Server. THere are about 200+  tables. If I do select top 0 * into... copies the structure but not indexes.

I need something that will do this Programtically  i.e get structure and indexes from SQL Source systems.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>