I have a reindex job in a maintenance plan which I run on every table in a given database at 3am so it won't interrupt any other work.
However it is failing and reporting the reason as being the victim of a deadlock on the tables - how can I work out what has locked the tables other than it?