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
Why SQL Agent is used?
How to execute a sql statement using odbc_exec()?
List some advantages and disadvantages of stored procedure?
How to throw custom exception in Stored Procedure?
How can you check the version of sql server?
Explain the difference between function and stored procedure?
What are the advantages of sql azure?
What is database architecture? : SQL Server Architecture
your distribution database is full what will u do
What is a data collection table?
Difference between DELETE and TRUNCATE?
What is the difference between sql server 2000 object owner and sql server 2005 schema? : sql server database administration
What happens if you add a new index to large table?
What is difference between order by and group by?
What are key, name and value columns of an attribute? : sql server analysis services, ssas