The database table will not be reduced (or show its entered data)

if I applied the sql query statement to this table "select * from context.tablename", all I see is the message "Query Execution .." and nothing else happens. I also cannot truncate or drop this table. This prevents me from even dumping the fence database.

Is it possible that this problem is caused by the inserted data in this table ???

I am using MS Sql 2005 server

+3
source share
4 answers

Have you tried restarting the SQL Server service?

+2
source

- ? , ?

0

SSMS . MDF .

0

, 3 . MS SQL Server Mgmt Studio , , .

, . sp_spaceused , 86k , .

I disabled all tabs, including the one I used, to select and to delete the table. Then I reconnected to this window and ran "Select * from" my table, and it worked. I was also able to successfully delete the table.

It seems that there was an open connection holding the table hostage somehow and preventing Select and Drop from working.

0
source

Source: https://habr.com/ru/post/1717607/


All Articles