Seaquel
SQL Server error code

SQL Server error 4145

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

An expression of non-boolean type specified in a context where a condition is expected, near '%.*ls'.
Msg4145
Severity15
Group4000–4999

Source: Database Engine events and errors