단순한 프로시져를 만드는데 오류가 생긴다.
PL/SQL: ORA-00942: table or view does not exist 에러내용은 이것이지만
실제로 테이블이 존재한다.
sqlplus / as sysdba
grant dba to TDBA;
CREATE OR REPLACE PROCEDURE TDBA.test
(v_str_dt IN date, v_end_dt IN date)
IS
aa varchar2(20) :=null;
BEGIN
select OWNER into aa
from dba_objects
where created between to_date(v_str_dt,'yyyymmdd') and to_date(v_end_dt,'yyyymmdd')
and owner not like 'SYS%';
END test;
/
Warning: Procedure created with compilation errors.
SQL> SHOW ERROR
Errors for PROCEDURE TDBA.TEST:
LINE/COL ERROR
-------- -----------------------------------------------------------------
6/9 PL/SQL: SQL Statement ignored
7/14 PL/SQL: ORA-00942: table or view does not exist
'생계 > OERR' 카테고리의 다른 글
ORA-4023 에러 (0) | 2019.06.04 |
---|---|
ORA-27086: unable to lock file - already in use (0) | 2018.11.02 |
oracle silent 설치 중 에러 ins-35344 stack size (0) | 2018.05.03 |
ORA-12838: cannot read/modify an object after modifying it in parallel (0) | 2017.09.21 |
오라클 impdp 중 ORA-27037: unable to obtain file status (0) | 2017.09.07 |