Generate CREATE TABLE scripts using Management Studio

I am looking for a way to generate scripts for my tables.

+5
source share
1 answer

Right-click the table in Object Explorer and select Script Table as> New> New Query Editor.

enter image description here

You can also do this for multiple tables using Object Explorer Information (F7):

enter image description here

Or right-click the database and use the Tasks> Generate Scripts wizard:

enter image description here

+23
source

All Articles