Pages

Saturday, September 14, 2013

SQL SERVER – FIX : ERROR Msg 1803 The CREATE DATABASE statement failed. The primary file must be at least 2 MB to accommodate a copy of the model database | Journey to SQL Authority with Pinal Dave

Following error occurs when database which is attempted to be created is smaller than Model Database. It is must that all the databases are larger than Model database and 512KB. Following code will create the error discussed in this post. CREATE DATABASE Tests ON ( NAME = 'Tests', FILENAME = 'c:\tests.mdf', SIZE = 512KB )… Continue Reading...

Source: SQL SERVER – FIX : ERROR Msg 1803 The CREATE DATABASE statement failed. The primary file must be at least 2 MB to accommodate a copy of the model database | Journey to SQL Authority with Pinal Dave

No comments:

Post a Comment