2

I need help in converting the mysql 'limit' function to sql server 2000, as this db does not have the limit function.

i have two values which is the start row and end row, can someone help me how i can do this in sql server 2000 the most efficient way.

1
  • This can be done more easily (and in better performing ways) in newer versions of SQl Server, can you upgrade?
    – HLGEM
    Mar 22, 2011 at 15:01

1 Answer 1

1

check this : http://www.codeproject.com/KB/database/SQLServer2KPagingSorting.aspx

another example for you : https://web.archive.org/web/20210506081930/http://www.4guysfromrolla.com/webtech/041206-1.shtml

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.