Commit 23757b6
committed
Add "OFFSET 0 ROWS" queries without an existing ordering or limit clause
Without this patch, subqueries with orderings result in an exception:
ProgrammingError: ('42000', '[42000] [Microsoft][ODBC Driver 13 for
SQL Server][SQL Server]The ORDER BY clause is invalid in views,
inline functions, derived tables, subqueries, and common table
expressions, unless TOP, OFFSET or FOR XML is also specified.
(1033) (SQLExecDirectW)')
Resolves issue #12.1 parent b41e8b4 commit 23757b6
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
310 | 316 | | |
311 | 317 | | |
312 | 318 | | |
| |||
0 commit comments