title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | |
---|---|---|---|---|---|---|---|---|---|
MSSQLSERVER_1803 |
MSSQLSERVER_1803 |
MashaMSFT |
mathoma |
04/04/2017 |
sql |
supportability |
reference |
|
[!INCLUDE SQL Server]
Attribute | Value |
---|---|
Product Name | SQL Server |
Event ID | 1803 |
Event Source | MSSQLSERVER |
Component | SQLEngine |
Symbolic Name | NO_SPACE |
Message Text | CREATE DATABASE failed. Primary file must be at least %d MB to accommodate a copy of the model database. |
[!INCLUDEssNoVersion] creates a database by making a copy of the model database. Then [!INCLUDEssNoVersion] renames the copy, and enlarges the new database to the requested size. In this case, the user tried to create a database smaller than the model database. The operation failed because the copy of the model database could not fit on the primary data file, because the file was smaller than the model database.
Create the database by using a larger database file size. Then shrink the database if you want by using [!INCLUDEssManStudioFull], or the DBCC SHRINKDATABASE statement.