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
How to create a trigger for insert only?
What are different types of subquery?
What is the Main Difference between ACCESS and SQL SERVER?
Do you think BCNF is better than 2NF & 3NF? Why?
How to create a view with data from multiple tables?
What is read uncmmited?
You accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover?
Can you explain about buffer cash and log cache in sql server?
What is normalization and what are the advantages of it?
What are “phantom rows”?
What is difference between commit and rollback when used in transactions?
What is fill factor and pad index?
Can the “if update (colname)” statement be used in a delete trigger?
How to generate random numbers with the rand() function in ms sql server?
What is an expensive query?