Dropping and recreating databases in Microsoft SQL Server

后端 未结 6 1836
-上瘾入骨i
-上瘾入骨i 2021-02-01 12:27

I am experimenting and learning with Microsoft SQL Server 2008 R2 SP1. I have a database where I made many experiments. Now I would like to drop and recreate it. So I extract th

6条回答
  •  我在风中等你
    2021-02-01 12:56

    I extract the creation script from database

    This extract the creation script for everything in the database (tables, keys etc). If you simply want to create an empty database, just run CREATE DATABASE

提交回复
热议问题