I experienced a deadlock when I have a thread that DROPs a table and another thread that SELECTs INFORMATION_SCHEMA.KEY_COLUMN_USAGE.
I'd like to know if any of you encountered something similar. I've checked all over the internet and found some mentions of this but nothing too specific about the resolution. For instance: - #1 - #2
I did notice that there is a similar complaint for SQLServer2014 but I am using SQLServer2012 which was reportedly unaffected by the bug (maybe it actually affects?).
I can workaround this issue by using WITH (NOLOCK) or WITH (READPAST) but that's a bit unsafe. Any ideas?