重庆思庄Oracle、Redhat认证学习论坛
标题: 如何清理SYS和SYSTEM用户中的重复数据库对象 [打印本页]
作者: Inkcup 时间: 前天 16:15
标题: 如何清理SYS和SYSTEM用户中的重复数据库对象
实验环境:
rhel5.4 & oracle database 10g
操作:
升级为11g
在查看SYS和SYSTEM用户时,发现有多余的重复对象:
SQL> select object_name, object_type from dba_objects where object_name||object_type in (select object_name||object_type from dba_objects where owner = 'SYS') and owner='SYSTEM';