Dot Net Dragon
A complete guide to people who wants to learn .Net Technology with Basics and Advance level
Friday, December 2, 2011
SQL server Paging
select * from
( SELECT ROW_NUMBER() OVER (ORDER BY uniqueid) as ROW , * from TableName where status = 2 ) as a
where ROW BETWEEN 1 and 10
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment