drop proc 遇到的问题!
create proc test _P
as
begin
--save tran tran1
select wd into #test1 from test_t
-- commit tran tran1
end
过程本身很简单,我在几个数据库上实验。 其中有一个数据库 执行过程后,在DROP就出现异常!:
Server Message: Number 644, Severity 21
Server 'test', Line 1:
Index row entry for data row id (6, 96) is missing from index page 162 of index id 2 of table 'sysobjects' in database 'TEST01'. Xactid is (331030,31). Drop and re-create the index.
查过手册或者文档,说法不一,大部分是说表的索引有问题!可我的这是个过程! 也有的说是硬件问题,但是现在除了我的这个过程在DROP的时候会有问题,其他没有任何异常!.....
不知道各位有没有遇到类似的情况...期待解决!谢谢!
|