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...

Without Using Cursors , How to Select the Selected row??

Answer Posted / nandkumar karlekar

use while loop with #temp table containing auto increment
ID as column

find the row on where ID=@Count
Count ++ up to where ID=@Count not exist.

it is very fast as compair to cursor.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different type of Collation Sensitivity?

981


Describe in brief authentication modes in sql server.

1008


Explain triggers?

984


You want to use a perspective in an mdx query. How do you select the perspective?

239


What functions can a view be used to performed?

1049


What are the disadvantages of indexes?

1066


What is the difference between update lock and exclusive lock?

958


What are the indexes in sql server?

1095


Explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

1146


Explain about merge replications?

995


Why it is recommended to avoid referencing a floating point column in the where clause?

948


you have a table with close to 100 million records recently, a huge amount of this data was updated now, various queries against this table have slowed down considerably what is the quickest option to remedy the situation? : Sql server administration

928


Explain different types of collation sensitivity?

960


How do I install sql server?

873


Tell about MOM Tool(Microsoft Operator Manager)?

1896