怎么查询一个表的所有状态

waxle 2004-05-13 08:48:25
在删除一个表时出现以下错误,我想查询这个表的所有状态。win2000 oracle9
错误
SQL> delete from test1;
delete from test1
*
ERROR 位于第 1 行:
ORA-01502: 索引'LIURONGHUA.SYS_C002737'或这类索引的分区处于不可用状态

查询这个表的所有状态和参数在哪个数据字典视图中呢??
...全文
118 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
waxle 2004-05-14
  • 打赏
  • 举报
回复
对了,是不是更改表空间就会有问题啊
我的其他的表格可以使用啊。看这个错误好像是属于liuronghua模式下的一个特殊的索引,应该对系统没有什么影响吧?
waxle 2004-05-14
  • 打赏
  • 举报
回复
我好像没有更改索引啊,最多就是更改了该表的表空间,这样就更改了索引吗??
Thornbird2004 2004-05-14
  • 打赏
  • 举报
回复
alter index LIURONGHUA.SYS_C002737 rebuild tablespace indx
删除一个表:drop table table_name
hc_yao 2004-05-13
  • 打赏
  • 举报
回复
可以随便找一个数据库工具,如Toad,PL/SQL Developer,OEM等等都很容易找到表及其相关的信息,如索引等。
OEM是Oracle Enterprise Manager,是Oracle客户端自带的。
welyngj 2004-05-13
  • 打赏
  • 举报
回复
你可能移动了索引,需要重建
welyngj 2004-05-13
  • 打赏
  • 举报
回复
alter index LIURONGHUA.SYS_C002737 rebuild
guoxinyu 2004-05-13
  • 打赏
  • 举报
回复
select * from dba_tables;或者
select * from user_tables;
lishuguang 2004-05-13
  • 打赏
  • 举报
回复
ORA-01502 index 'string.string' or partition of such index is in unusable state

Cause An attempt has been made to access an index or index partition that has been marked unusable by a direct load or by a DDL operation.
Action DROP the specified index, or REBUILD the specified index, or REBUILD the unusable index partition.

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧