Seaquel
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.
Msg9806
Severity16
Group9000–9999

Source: Database Engine events and errors