Groups | Blog | Home
all groups > sql server new users > december 2006 >

sql server new users : table gets corrupt


SAC
12/5/2006 11:12:54 AM
I have a view with several tables....every now and then it won't open so I
check each table in the view and there has been one that won't open so I
have to copy it from a backup .

Any idea as to why a table won't open when there's no maintenance done to
it?

Thanks.

Hari Prasad
12/5/2006 8:56:17 PM
Hello,

Might be because the table is locked fully. Just execute SP_WHO in a
seperate session and see of there is any blocking. Also execute a DBCC
CHECKDB on the
database and see if there is any corruption. Mostly this will occur if the
table is locked....

Thanks
Hari


[quoted text, click to view]

TW Server
1/8/2007 9:21:04 AM
Thanks, Hari!
[quoted text, click to view]

AddThis Social Bookmark Button