Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Script the Scripting of SQL Tables

$
0
0

Does anyone know if there is a way to script the scripting of an SQL table?

I know I can use the generate scripts function to create a script, problem is I have to do this fairly often and I don't need to script all tables so I have to scroll through a list of 100+ tables which is time consuming and error prone.  I also cannot simply do it once and save the script as the tables get 'changed'  due to updates applied by the vendor

I would love to find a way to automate the task so I can simply run a script to generate my create table statements


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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