[#2646] SQL Server error "The text, ntext, and image data types cannot be compared or sorted" when using LIMIT with a SELECT [text, image] statement
This commit is contained in:
parent
36f7d9e20e
commit
fb8df86748
@ -816,7 +816,8 @@ class SelectQueryImpl<R extends Record> extends AbstractSelect<R> implements Sel
|
||||
else if (getLimit().isApplicable() && asList().contains(dialect)){
|
||||
context.formatSeparator()
|
||||
.keyword("order by")
|
||||
.sql(" 1");
|
||||
.sql(" ")
|
||||
.keyword("@@version");
|
||||
}
|
||||
|
||||
context.end(SELECT_ORDER_BY);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user