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 get 25th row in any table in sqlserver can u tell me
syntax

Answer Posted / pradyumna

set rowcount 25
declare @temptable table
(id int identity(1,1),itemid int)
insert @temptable
select itemid from tbl123

select * from tbl123 where itemid=(select itemid from
@temptable where id=25)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the stored procedure?

1037


What is the difference between for trigger and after trigger?

1097


hi i am working as a testengineer , so i want to no the backend data base connection can any one tell mwe in detail

2207


What the class forname () does?

1049


What is difference between views and stored procedures?

977


What is the difference between web edition and business edition?

111


What are the different types of normalization?

1154


How to use “drop” keyword in sql server and give an example?

1119


Can we do dml on views?

948


How to create indexed view?

1031


What is the purpose of indexing?

1034


Will count(column) include columns with null values in its count?

1082


Define the one-to-one relationship while designing tables.

897


How to use the inserted and deleted pseudo tables?

951


What is table level trigger?

1009