Without Using Cursors , How to Select the Selected row??
Answers were Sorted based on User's Feedback
Answer / 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 |
What do you understand by triggers?
What is the query and subquery?
Which are new data types introduced in sql server 2008?
To find second largest salary in Employee table
How many types of built in functions are there in sql server 2012?
Differences between Standby Vs No recovery?
What is the openxml statement in sql server?
What are different backups available in sql server?
Do you know data definition language, data control language and data manipulation language?
difference between Clustered index and non clustered index ?
PC(code, model, speed, ram, hd, cd, price) Find the hard drive sizes that are equal among two or more PCs.
What is user stored procedure & it purpose?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)