Seaquel
SQL Server error code

SQL Server error 306

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

The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.
Msg306
Severity16
Group0–999

Source: Database Engine events and errors