SQL Server error code
SQL Server error 2504
SQL Server raises error 2504 at severity 16, which marks a problem with the query or data that you can correct.
Could not delete the physical file '%ls'. The DeleteFile system function returned error %ls.
| Msg | 2504 |
|---|---|
| Severity | 16 |
| Group | 2000–2999 |