0

I have a query that has worked perfectly fine the past 8 months. For some odd reason, today the query hangs and eventually times out no matter what constraint I put on it. This is very frustrating, but extremely curious on how this can be worked around.

Query is as follows:

DROP TABLE xxxx.dbo.stackoverflow;

Any help is greatly appreciated!

James Z
  • 12,209
  • 10
  • 24
  • 44

1 Answers1

1

UPDATE : The server was restarted from the admin who was out of town. If anyone encounters that issue in the future, I suggest either doing that, OR

type this query :

show full processlist;

after table shows, look for a query under your specific db, then get the ID from the Id column.

While the processlist is visible (in this example, the Id will be 140, type:

kill 140; 

After removing all of the processes that have large time displays will definitely speed it up! Good Luck!