0

I've just run into a table that I can't delete the contents of suddenly. SELECT and DELETE operations on this table hang, but if I abort the SELECT I get some of the rows returned (29, to be exact).

I tested using SELECT TOP N and found a point after which the query hangs.

select  top 37 [Id] from [foo]
go

select  top 38 [Id] from [foo]
go

results in this: (Timeout of 5 minutes) Output

The execution plans: Exec Plans

The Index is on the Id column which is the primary key.

Is there any way I can delete the contents of the table? I haven't tried using TRUNCATE TABLE yet.

TJennings
  • 432
  • 3
  • 14

0 Answers0