Seaquel
SQL Server error code

SQL Server error 249

SQL Server raises error 249 at severity 16, which marks a problem with the query or data that you can correct.

The type "%ls" is not comparable. It cannot be used in the %ls clause.
Msg249
Severity16
Group0–999

Source: Database Engine events and errors