Without Using Cursors , How to Select the Selected row??

Answers were Sorted based on User's Feedback



Without Using Cursors , How to Select the Selected row??..

Answer / somu.kattikar

Using Co-Related Sub Queries

Is This Answer Correct ?    4 Yes 4 No

Without Using Cursors , How to Select the Selected row??..

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

Without Using Cursors , How to Select the Selected row??..

Answer / lalit

shift+space bar

Is This Answer Correct ?    3 Yes 11 No

Post New Answer

More SQL Server Interview Questions

How do I uninstall sql server 2014?

0 Answers  


Do you know sql server 2008 introduces automatic auditing?

0 Answers  


What are the restrictions that views have to follow?

0 Answers  


What stored procedure would you use to view lock information?

0 Answers  


What is 3nf normalization form?

0 Answers  






how can you attach more than 20 ldf files in sql server

0 Answers   IBM,


What is field with example?

0 Answers  


Why we should not use triggers?

0 Answers  


Explain primary key in sql server?

0 Answers  


Mention the different authentication modes in sql server.

0 Answers  


How to end a stored procedure properly in ms sql server?

0 Answers  


Differentiate between a primary key and a unique key.

0 Answers  


Categories