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
Does any body please help me what question's have asked for SSRS in the interview?
as a part of your job, what are the dbcc commands that you commonly use for database maintenance? : Sql server database administration
how many bits ip address consist of? : Sql server database administration
whats new about truncate in sql server 2008?
Do you know exporting and importing utility?
How can sql injection be stopped? : sql server security
Please explain go command in sql server?
How to execute the cursor queries with "open" statements?
What is the index requirement in SQL Azure?
What is instead of trigger sql server?
what is the difference between openrowset and openquery?
What is index fragmentation in ms sql server?
What is server-level principal?
What is linked report?
What is the difference between a view and a stored procedure?