I know to check for live deadlocks
select * from sys.sysprocesses where blocked>0
However, that is only for deadlocks that are current. How do we check for deadlocks from the say the last 24 hours? Note: I want to be able to do this without having to configure on any trace etc - just get the information from a system table. Is that possible?
Thanks.
Transaction (Process ID %d) was deadlocked on %.*ls resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
are you getting these errors and this is what you are trying to troubleshoot? Or are you interested in general blocking.