CREATE DATABASE database_name
without parameters, the database will be created with the same size with a database that was created by SQL Server named Model. SQL Server implemented CREATE DATABASE command in two phases:
- SQL Server, copying the Model database for the initial database with meta data.
- Then, SQL Server fills the page blank except for page that contains internal data that declare how to use a place name in the database.
Each of the settings of the database model will be included in the new database unless you use the FOR ATTACH. For example the Model database option select into / bulkcopy set to OFF. If you change the database option with the command ALTER DATABASE model, the setting will affect the new database will be created.
1 comments:
Awesome work.Just wanted to drop a comment and say I am new to your blog and really like what I am reading.Thanks for the share
Post a Comment