How to retrieve range of 10th rows to 20 th rows from total
rows from a database table.? (Not from Dataset)
Answer Posted / adhar jain
With temp As
(
Select columns,
row_number() Over (Order By sort_Column) As row_num
From table
)
Select * from temp where row_num between 10 and 19
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Do you know what is replace and stuff function in sql server?
What should be the fill factor for indexes created on tables? : sql server database administration
What are different types of subquery?
What is difference between rollback immediate and with no_wait during alter database?
What is identity?
how to avoid cursors? : Sql server database administration
When is update_statistics command used?
Explain the difference between functions and stored procedures in sql server?
Please explain that what are the basic functions for master, msdb, model, tempdb and resource databases? : SQL Server Architecture
What is the use of stored procedure?
What are different types of table joins?
Can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible?
Write a SQL query to make a column as unique?
What is the default order of an order by clause?
What is bcnf normalization form?