For whatever reason one specific table in the database started to not to complete any query results on a specific table. It says 'executing query…' and not completes.
Like:
select * from foo
Other tables are returning rows.
How/where I can check if a table is locked?
Best Answer
Check this sample
REF: http://sqlblog.foxraven.com/2012/01/check-to-see-if-table-is-locked.html