Check out example codes for "t sql check active deadlock". It will help you in understanding the concepts better.

Code Example 1

select * from sys.sysprocesses where blocked > 0

Learn ReactJs, React Native from akashmittal.com