Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How do I find the sql server version?

1029


How can you manage sql azure security?

103


What is amo? : sql server analysis services, ssas

1095


how to define testing of network layers? : Sql server database administration

977


What are the restraints imposed on the table design by a merge replication?

1041


Write a SQL query to delete a table?

1145


How to send a ssrs report from ssis?

177


Is it possible for a stored procedure to call itself or recursive stored procedure?

953


What is the use of keyword with encryption.

1032


What is the difference between for auto and for nested?

1011


explain what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration

944


How to create an index on an existing table in ms sql server?

982


What is an expensive query?

934


What is mean by clustered index and non clustered index, give syntax of creation? : sql server database administration

1090


Explain the categories of stored procedure i.e. System stored procedure, local stored procedure, temporary stored procedure, extended stored procedure, remote stored procedure?

1056