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 the difference between UNION and UNIONALL?
What is cursors?
What are number line correlation administrators will use while working with a subquery?
Do you know what is user defined datatypes and when you should go for them?
How to create a Master database in SQL server ?
What is a table called, if it has neither cluster nor non-cluster index? What is it used for?
What is a transact-sql statement batch in ms sql server?
Explain what role entity and relationship play in an ER diagram.
Explain SELF JOIN ?
Why do we need normalization?
How can I check if a view exists in a sql server database?
What are the 10 characteristics of data quality?
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)