PdfPrep.com

What should you do?

You administer a Microsoft SQL Server database. Users report that an application that accesses the database displays an error, but the error does not provide meaningful information. No entries are found in the SQL Server log or Windows event logs related to the error. You need to identify the root cause of the issue by retrieving the error message.

What should you do?
A . Flag all stored procedures for recompilation by using sp_recompile.
B . Create an Extended Events session by using the sqlserver.error_reported event.
C . Create a Performance Monitor session to capture the SQLServer:SQL Errors object.
D . Create a SQL Profiler session to capture all ErrorLog and EventLog events.

Answer: B

Explanation:

Event sqlserver.error_reported: This event gets fired every time that an error happens in the server

References:

Exit mobile version