52husky 发表于 2009-02-06 08:19

数据库表无法去除的原因?

在做表删除时,系统提示如下信息,不知该如何解决?
1> truncate table ordering
2> go
Msg 695, Level 21, State 1:
Line 1:
An attempt was made to read logical page '494080' for object '99' in database
'4' from disk. Wrong logical page '940800' was brought into cache 'default data
cache'.
1>

chuxu 发表于 2009-02-06 09:17

做dbcc checktable

52husky 发表于 2009-02-06 10:24

版主:
   命令写成 DBCC CHECKTABLE(表名)就行,还是要附带参数,请明示。谢谢。
   不带参数的命令执行后,报同样的错误信息。

hobbylu 发表于 2009-02-06 10:35

手工删除系统表中的数据,进行删除

hobbylu 发表于 2009-02-06 10:35

还有你的数据库肯定还存在着其他问题

chuxu 发表于 2009-02-06 10:41

dbcc checktable
dbcc tablealloc ( tablename ,fix)

52husky 发表于 2009-02-06 11:01

精灵使:
我在SQL Advantage 直接执行 dbcc tablealloc ( 表名 ,fix)后,系统提示命令格式不对:
INCORRECT dbcc COMMAND:see the SQL server reference Manual for DBCC command
烦请提示。

sybase软件服务 发表于 2009-02-06 11:15

如果此表没有过多的约束,是否可以考虑重建后改名?

此外,检查一下库的情况,避免出现更大的麻烦。

zq5143 发表于 2009-02-06 11:34

drop掉,重建不行吗?

chuxu 发表于 2009-02-06 12:13

dbcc tablealloc(object_name | object_id | partition_id, [, {full | optimized | fast | null} [, fix | nofix]])
页: [1] 2
查看完整版本: 数据库表无法去除的原因?