Microsoft® SQL Server 2008 R2 Unleashed
by Ray Rankins, Paul Bertucci, Chris Gallelli, Alex T. Silverstein
Creating Databases
Database creation is a relatively straightforward operation that you can perform by using T-SQL statements or SSMS. Because the data and log files are created at the time the database is created, the time it takes for the database to be created depends on the size and number of files you specify when you create the database. If there is not enough disk space to create any of the files specified, SQL Server returns an error, and none of the files are created.
Note
Enhancements that were added in SQL Server 2005 and still exist in SQL Server 2008 have reduced the amount of time it takes to create a database. The reduction in creation time is attributed to a change in the way the database files are initialized. The initialization ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access