MSSQLServer and RQL with Offset/Fetch throws exceptions #565
Labels
accepted
Issue has been accepted and inserted in a future milestone
as-designed
The behaviour is correct/expected
enhancement
Milestone
The following RQL from the sample "activerecord_showcases" throws an exception with MS SQLServer:
because the resulting SQL has no ORDER BY clause:
'SELECT id, code,description,city,rating,note FROM customers WHERE ((city = ''Rome'') and ((LOWER(description) LIKE ''%gas%'') or (LOWER(description) LIKE ''%motors%''))) /*limit*/ OFFSET 0 ROWS FETCH NEXT 20 ROWS ONLY'
Offset/Fetch have to be used with the order by clause, I think this must be done in the SQL generator of MS SQLServer.
The text was updated successfully, but these errors were encountered: