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 |
How to check parameter value in stored procedure sql server?
what is physical sort data and logical sort data in index?
Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.
What do you mean by subquery?
List out the different types of locks available in sql server?
What is the difference between ddl and dml?
What do you understand by hotfixes and patches in sql server?
How use inner join in sql server?
What language is sql server written in?
What are the disadvantages of using the stored procedures?
How do database indexes work?
What are the types of dml?
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)