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

You are creating an application where users are asked their gender in the gender combo box you have three options: ‘male’ , ‘female’ and ‘i choose not to disclose’ these options are stored in the table as 1, 0 or null which datatype should you use?

1006


Suppose you want to implement the many-to-many relationships while designing tables. How would you do it?

1004


What are system databases into sql server (2005/2008)?

999


what is a schema in sql server 2005? : Sql server database administration

1022


What are the options which must be set to allow the usage of optimistic models?

961


What does <> symbol mean?

966


What is code near application topology?

279


Which are the new data types introduced in sql server 2008?

879


How many types of stored procedures are there in sql server?

1015


When would you prefer to have a minimum number of indexes?

900


How to create a view using data from another view?

948


What is the data type of time?

963


What is user-defined functions? What are the types of user-defined functions that can be created?

1032


How to convert a numeric expression from one data type to another?

1014


How do you maintain database integrity where deletions from one table will automatically cause deletions in another table?

1188