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 delete duplicate records from a table?(for suppose in a table we have 1000 Records in that we have 200 duplicate Records , so ,how to findout that duplicate Records , how to delete those Records and arranged into sequence order? one more thing that there is no primary key at all)
Mention the uses of stored procedures.
What is the difference between local and global temporary tables?
How get current date in SQL server 2000
How to call a function from a stored procedure in SQL Server ?
Is it important for a database administrator to understand the operating system and file access?
what is call by value & call by reference ?
How to create a testing table with test data in ms sql server?
What is named query? : sql server analysis services, ssas
Can we move Resource database from one path to another? If yes,How can we?
What is Schema? and why we use schemas?
What is Online Index Rebuild Operation?
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)