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


Please Help Members By Posting Answers For Below Questions

What is lookup override?

762


What is difference statement and preparedstatement?

712


Is it safe to delete log files?

669


What are the underflow and overflow behaviors on float literals?

771


Do you have any idea about the tcl commands?

708






How to use values from other tables in update statements in ms sql server?

734


what are different types of backups available in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

682


What is the recommended total size of your memory optimized tables?

698


Write a Select Query to display title for each group of records, which are collected with Compute Clause? Like titlefield column-A column-B ..... ..... ..... Sum ... titlefield column-A column-B ..... ..... ..... Sum ...

1749


what are the different types of SSRS reports?

122


What do you mean by data integrity?

778


What are different types of collation sensitivity?

700


What are different types of replication in sql server?

736


How do you drop an index?

674


In what version of sql server were synonyms released?

681