How to retrieve range of 10th rows to 20 th rows from total
rows from a database table.? (Not from Dataset)
Answer Posted / x.cannon
SELECT * FROM
(
SELECT NTILE(2) AS div, * FROM
(
SELECT TOP(20) FROM <table_name>
) AS tmp
) AS tmp WHERE div = 2
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is fill factor and pad index?
How to manipulate data from one table to another table ?
What is the difference between a "where" clause and a "having" clause?
How to create a stored procedure with a statement block in ms sql server?
How to update muliple row in single query?
What is the importance of three tier architecture?
What are the options which must be set to allow the usage of optimistic models?
What is recompile sql server?
How can sql server instances be hidden?
What are commonly used mssql functions in php?
what are user defined datatypes and when you should go for them? : Sql server database administration
Why use view instead of a table?
Explain what is row_number function?
What is row-level compre?
What is format parameter in ssrs?