DBA > Job Interview Questions > Microsoft SQL Server FAQs

How can you easily monitor to see if this assemb

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

How can you easily monitor to see if this assembly is being used?

You have installed one new assembly on your SQL Server 2005 server and are wondering if it is being used on the production server. How can you easily monitor to see if this assembly is being used?

Answer
You can monitor the Assembly Load event in a trace.

Explanation
While you could scan trace results for the names of functions and procedures using the assembly, it is possible that you may not know all the places the assembly is being called from. There is a CLR Load event class that will capture an event when a CLR class is executed.

(Continued on next question...)

Other Job Interview Questions