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
Is truncate autocommit?
Can primary key be a foreign key?
What does it mean if @@cursor_row returns a negative number?
What is collation sensitivity? Explain different types.
What are the different types of triggers in SQL SERVER?
how can u get last observation in an unknown dataset ?
Explain the advantages of merge replication?
Does union all remove duplicates?
What is coalesce in sql server?
What is the difference between dropping a database and taking a database offline?
Can we insert data into view sql server?
What is the importance of three tier architecture?
what is denormalization and when would you go for it? : Sql server database administration
Can one drop a column from a table?
While using a cursor, how can you differentiate between a deleted row and a row that has been inserted with null data values?