Reputation: 91
when I create database in sql server, it creates some tables by default inside new database from another one, which I had created earlier, can anyone pls tell me why this is happening and how to prevent it?
I am using the following command:
CREATE DATABASE [Databasename]
Upvotes: 1
Views: 3610
Reputation: 37368
Make sure you have not modified model database
The model database is used as the template for all databases created on an instance of SQL Server
Upvotes: 2