could you please reply for these question:
1.About Use Apply?
2.Avoid cursors - When we have a situation that we can not
avoid the use of cursor than what is the alternate solution?
is there anything we can use instead of cursor to perform
the desired task? which optiomize the peroformance too.

3.What is computed columns?

Thanks in advance.

Regards,
Rupesh

Answer Posted / anupom das

Use Table variable with a identity column. Then make a while
loop row by row

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is sql server? : Sql server database administration

699


What is difference between equi join and natural join?

712


What do you understand by mirroring?

746


What are the benefits and tasks of object explorer? : sql server management studio

799


Explain the microsoft sql server delete command? : SQL Server Architecture

778






what is a check constraint?

845


What is the architecture of ms sql reporting service?

704


Explain contrast amongst grouped and non-bunched records?

716


Differentiate between ms sql server reporting services vs crystal reports?

657


What is the use of for clause?

770


What command would you use to add a column to a table in sql server?

978


What are “phantom rows”?

1411


How to start sql server browser service?

768


Explain different types of locks in sql server.

775


What are the types of joins in sql?

777