DBA > Job Interview Questions > Microsoft SQL Server FAQs

You are performing a number of SELECT queries on

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

(Continued from previous question...)

You are performing a number of SELECT queries on one of your SQL Server 2005 Service Broker queues and you get a call that applications using the queues are running slowly. What can you do?

Answer: Use the NOLOCK hint when querying the queue.
Explanation: Multiple queue readers can access a queue, but SELECT queries can cause blocking, so you should use the NOLOCK hint when querying the queue.

(Continued on next question...)

Other Job Interview Questions