Seaquel
SQL Server error code

SQL Server error 5335

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

The data type %ls cannot be used as an operand to the UNION, INTERSECT or EXCEPT operators because it is not comparable.
Msg5335
Severity16
Group5000–5999

Source: Database Engine events and errors