Invalid zero-length device name. Reissue the BACKUP statement with a valid device name.

Error Message:
Msg 3044, Level 16, State 2, Line 2
Invalid zero-length device name. Reissue the BACKUP statement with a valid device name.

Severity level:
16.

Description:
This error message appears when you try to backup a database to a media with a name of length 0.

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

Resolution:
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 media name must have a name with a length > 0 and it must be valid.

Versions:
All versions of SQL Server.

Example(s):
USE Pubs
BACKUP DATABASE Pubs TO DISK =”

Remarks:
In the above example we try to backup the Pubs database to disk. Because we use a media name with a length of 0, the error is raised.




Related Articles :

  • No Related Articles Found

Trackbacks/Pingbacks

  1. SQL Server Performance - May 22, 2011

    [...] [...]

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 |