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

How to list all login names on the ms sql server?

622


Explain what is the main purpose of having conversation group?

613


How to use subqueries with the exists operators in ms sql server?

676


Working with TLogs

1538


How to execute stored procedure and set temp table in sql server?

629






What are partitioned views and distributed partitioned views?

705


What is the default sql server instance name?

632


explain what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration

740


IF more than one Site is accessing the same Database server and I want to move the DB with Minimum down time? How will you do

1419


Write down the syntax and an example for create, rename and delete index?

622


What is trigger in salesforce?

575


What is explicit mode in sql server?

623


What is the beast way to write CTE in SQL Server ?

658


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

577


What is dirty read?

709