SQL Server error code
SQL Server error 9806
SQL Server raises error 9806 at severity 16, which marks a problem with the query or data that you can correct.
The datepart %.*ls is not supported by date function %.*ls.
| Msg | 9806 |
|---|---|
| Severity | 16 |
| Group | 9000–9999 |