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 is query optimization process?
Explain temporary table vs table variable by using cursor alternative?
What are different types of replication in sql server?
How does normalization work?
What is the difference between a Application Server and a Database
Can you explain important index characteristics?
How to delete all rows with truncate table statement in ms sql server?
how to find the second salary?
How to trouble shoot if unable to connect SQL Server
What happens when converting big values to numeric data types?
How to check what was the last restore transaction LSN in Log shipping or Mirroring? when we don't have a Monitor or witness server.
how to change column into row in sql
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)