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

Answers were Sorted based on User's Feedback



could you please reply for these question: 1.About Use Apply? 2.Avoid cursors - When we have a sit..

Answer / 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

could you please reply for these question: 1.About Use Apply? 2.Avoid cursors - When we have a sit..

Answer / 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

could you please reply for these question: 1.About Use Apply? 2.Avoid cursors - When we have a sit..

Answer / prasanna

Use derived columns,corelated subqueries instead of cursors
so that the performance will also be improved.

Regards
prasanna

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What is log shipping?

0 Answers  


Define tempdb database?

0 Answers  


How to find related tables in sql server?

0 Answers  


Are semicolons required at the end of sql statements in sql server 2005?

0 Answers  


What is SQL server agent?

2 Answers   HCL, SAP Labs,






How to find the date and time of last updated table?

3 Answers  


Can select statements be used on views in ms sql server?

0 Answers  


what is a self join? : Sql server database administration

0 Answers  


What are the database roles? : sql server security

0 Answers  


What is 1nf 2nf?

0 Answers  


What are different type of Collation Sensitivity?

0 Answers  


How to Display, Amount of Disk Activity Generated by Transact-SQL Statements?

1 Answers  


Categories