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 ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are ddl triggers and types of ddl trigger?

792


How to create a view with data from multiple tables?

769


What is SQL Azure Fabric?

106


Suppose you want to implement the many-to-many relationships while designing tables. How would you do it?

720


What Are the Main Features of SQL Azure?

109






How many primary keys are possible in a table?

680


What are the advantages of sql azure?

134


how you can deploy an ssrs report?

139


Tell me the use of keyword with encryption. Create a store procedure with encryption?

754


What is nolock?

747


Can we add an identity column to decimal datatype?

757


What is thr feature of change data capture?

674


How each E-R model constructs can be mapped to the relational model?

722


What are the various editions of sql server 2017 that are available in the market?

672


how you can get the list of largest tables in a database? : Sql server administration

725