How to reset script from sql server?

I would like to reset the script for all tables in the database. I think it can be done through

database->right-click->tasks->export Data

But I don’t know how to do this. Please help. I am looking for a script with the CREATE TABLE command.

+3
source share
1 answer

In SQL Server Management Studio, select your database in the Object Explorer and right-click, Tasks > Generate Scriptsand then follow the instructions in the wizard:

enter image description here

+3
source

All Articles