MODIFY FILE failed. Specified size is less than current size.

Error Message:
Msg 5039, Level 16, State 1, Line 1
MODIFY FILE failed. Specified size is less than current size.

Severity level:

This error message appears when you try to modify a file and specify a size that is less than the current size.

The T-SQL statement can be parsed, but causes the error at runtime.

Errors of the Severity Level 16 are generated by the user and can be fixed by the SQL Server user. The statement cannot be executed this way. The specified size must be equal or greater to the current size.

All versions of SQL Server.

 (NAME = MyExample_Data,
  SIZE = 0);

In the above example we try to specify a size of 0 for the logical file MyExample_Data. Because this is less than the current size, the error is raised.

Related Articles :

  • No Related Articles Found


  1. SQL Server Performance - May 22, 2011

    [...] FILE failed for file “%.*ls”. At least one property per file must be specified.MODIFY FILE failed. Specified size is less than current size.The newsequentialid() built-in function can only be used in a DEFAULT expression for a column of [...]

Software Reviews | Book Reviews | FAQs | Tips | Articles | Performance Tuning | Audit | BI | Clustering | Developer | Reporting | DBA | ASP.NET Ado | Views tips | | Developer FAQs | Replication Tips | OS Tips | Misc Tips | Index Tuning Tips | Hints Tips | High Availability Tips | Hardware Tips | ETL Tips | Components Tips | Configuration Tips | App Dev Tips | OLAP Tips | Admin Tips | Software Reviews | Error | Clustering FAQs | Performance Tuning FAQs | DBA FAQs |