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 / x.cannon

SELECT * FROM
(
SELECT NTILE(2) AS div, * FROM
(
SELECT TOP(20) FROM <table_name>
) AS tmp
) AS tmp WHERE div = 2

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by a view? What does the with check option clause for a view do?

1007


What is the architecture of ms sql reporting service?

986


How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?

2001


What are the diifferences between the ms sql server vs mysql?

1176


What is the difference between a stored procedure and a user defined function?

1024


Explain datetime2 data type in sal server 2008?

917


what does the automatic recovery do? : Sql server administration

1024


How to use clusters?

957


but what if you have to create a database with two filegroups, one on drive c and the other on drive d with log on drive e with an initial size of 600 mb and with a growth factor of 15%? : Sql server database administration

969


What are indexes in sql?

1286


Name few of the dcl commands in sql?

1009


How would you choose between a clustered and a non-clustered index?

979


Why union all is faster than union?

914


What is a group function explain with an example?

993


Explain how dts is used to extract, transform and consolidate data?

1000