Logging erroneous queries only on SQL server

前端 未结 1 811
抹茶落季
抹茶落季 2020-12-16 05:54

I have what would seem to be an easy goal to accomplish, yet I have not found a good solution. Google does not shed a light on it and I just hope that I have been looking fo

相关标签:
1条回答
  • 2020-12-16 06:28

    Set up a trace for the Exception Event Class, SQL:BatchCompleted Event Class and RPC:Completed Event Class. Add a filter for Error not equal to 0. Start the trace. Done.

    0 讨论(0)
提交回复
热议问题