Defining Import / Export Tables Using SQLServer Management Studio
2 answers
You can make tables or an entire database.
For the table, go to the SSMS dev object explorer: right-click the table, click "Script Table As", then "Create To", then "clipboard" or "file". Paste the clipboard or open the file in a production SSMS query window and click f5
to run the script.
For the database, go to your SSMS Object Explorer: right-click the database, select Tasks, then Generate Scripts, then use the wizard to select all the objects to include (triggers, roles, schemas, stored procedures, tables, and etc.) save this to a file and then open the file in an SSMS query window and click f5
to run the script.
+3
a source to share