在使用utlrp.sql编译后,查看发现还有一些invalid的object;
请教这些invalid如何清除?多谢!
SYS@primary>select object_name,object_type,owner from dba_objects where status not in ('VALID');
OBJECT_NAME OBJECT_TYPE OWNER
------------------------------ --------------- ----------
BIN$TL2QXqXfTv665l1zpwyCOQ==$0 TRIGGER SUKER
BIN$qp3Ys4azQOymxSOMFZNgnA==$0 TRIGGER SUKER
COMPRESSION_RATIO FUNCTION SUKER
RUN_ADDM FUNCTION SUKER
BIN$986J7gBNT6m3eJrMcI8mHA==$0 TRIGGER HR
BIN$X4aajBvKTb2LMjLnrQNI+A==$0 TRIGGER HR
BIN$K2C5lRyTTaSoRtlWrZb6lg==$0 TRIGGER HR
BIN$QpTv1FOXScCgVIwPoyFr5g==$0 TRIGGER HR
BIN$3kR9zr8iQbyhsxsfzMyo0w==$0 TRIGGER HR
BIN$qsVEpVN9T+CnVXFVxd66eA==$0 TRIGGER HR
BIN$qjY51/1OQcWbYEIOYh7Kag==$1 TRIGGER SUKER
OBJECT_NAME OBJECT_TYPE OWNER
------------------------------ --------------- ----------
BIN$fcEhA848SKuN7Srm6TsqbA==$1 TRIGGER SUKER
BIN$I9pA2FusQS+7z+5EtMEPHg==$0 TRIGGER SUKER
BIN$mnjuE9suTeeY1RoGhd4tpw==$0 TRIGGER SUKER
TMP$$_SECURE_EMPLOYEES0 TRIGGER SUKER
TMP$$_UPDATE_JOB_HISTORY0 TRIGGER SUKER
PRINT FUNCTION SYS
CALLPKG PACKAGE SYS
已选择18行。
SYS@primary>drop function run_addm;
drop function run_addm
*
第 1 行出现错误:
ORA-04043: 对象 RUN_ADDM 不存在
SYS@primary>DROP TRIGGER BIN$TL2QXqXfTv665l1zpwyCOQ==$0;
DROP TRIGGER BIN$TL2QXqXfTv665l1zpwyCOQ==$0
*
第 1 行出现错误:
ORA-00933: SQL 命令未正确结束