I want to create a procedure which stores weekly data of how many deadlocks occurred in the database, and store this output in a table - which is the best method to do so?
I tried using extended log but how can I store that XML output in the table?
Thank you in advance