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

List the data types available in mssql?

957


How to query multiple tables jointly?

918


What are sql server functions?

935


Can we deploy SSRS reports on our personal website?

162


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

1137


Explain about nested stored procedure?

975


Explain left outer join and right outer join?

967


What are subquery and its properties?

979


How to download and install microsoft .net framework version 2.0?

1101


Why do we use functions?

852


How do we know if any query is retrieving a large amount of data or very little data?

918


explain different types of constraints? : Sql server database administration

913


Explain hostprotectionattribute in sql server 2005?

959


How to make a column nullable?

1033


In which files does sql server actually store data?

850