SQL Server error code
SQL Server error 5327
SQL Server raises error 5327 at severity 15, which marks a problem with the query or data that you can correct.
The column '%.*ls' does not have a valid data type for the ORDER hint specified for data source '%.*ls'. The text, ntext, image, xml, varchar(max), nvarchar(max) and varbinary(max) data types cannot be used in the ORDER hint for a BULK rowset or CLR TVF.
| Msg | 5327 |
|---|---|
| Severity | 15 |
| Group | 5000–5999 |