SQL Server 2012 copy database without data

前端 未结 5 826
星月不相逢
星月不相逢 2020-12-30 20:29

We have a SQL Server 2012 database with test data in it that we used to develop a website. We will shortly need to empty the database and import the real data, but we have c

5条回答
  •  醉话见心
    2020-12-30 21:21

    You could generate the script for the database objects by right clicking it in Management Studio, then going to Tasks, Generate Scripts, choosing the objects you want to script, such as Tables, Views, etc. and there you have it.

提交回复
热议问题