How to retrieve range of 10th rows to 20 th rows from total
rows from a database table.? (Not from Dataset)
Answer Posted / newbie
SELECT E.* FROM
(SELECT ROW_NUMBER() OVER (ORDER BY EmpID) AS RowCounts,
Salary FROM Emp) AS E
WHERE E.RowCounts BETWEEN 10 AND 20
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What are the basic features of a trigger in ms sql server?
Explain how you can deploy an SSRS report?
Explain acid?
How can you insert values in multiple rows using one Insert statement?
When should you use an instead of trigger?
Which tools are available to manage SQL Azure databases and servers?
How to end a stored procedure properly in ms sql server?
How will you monitor replication latency in transactional replication? : sql server replication
How to find tables without indexes?
What is rank function?
How many databases instances are there in sql server 2000?
What is transaction server distributed transaction?
What is an entity-relationship diagram (erd)?
What are the different acid properties?
What is repeatable read?