Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate CREATE TABLE scripts using Management Studio [closed]

I'm looking for a way to generate the scripts for my tables.

like image 693
Ahmet Tezcan Avatar asked Jul 19 '12 15:07

Ahmet Tezcan


1 Answers

Right-click the table in Object Explorer, and choose Script Table As > Create To > New Query Editor Window.

enter image description here

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

enter image description here

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

enter image description here

like image 73
Aaron Bertrand Avatar answered Nov 02 '22 08:11

Aaron Bertrand