sqlingvo icon indicating copy to clipboard operation
sqlingvo copied to clipboard

How to implement TOP for SQL Server

Open theronic opened this issue 9 years ago • 1 comments

SQL Server does not support LIMIT and OFFSET, but it does support TOP at the start of a SELECT statement, e.g. SELECT TOP 500 * FROM Table

I looked at the limit fn that implements LIMIT with assoc-op, but I'm not sure how to extend SQLingvo to support the TOP statement at the start of the query?

theronic avatar Nov 12 '14 08:11 theronic

Sorry, this is not supported at the moment ...

r0man avatar Nov 13 '14 14:11 r0man