develog

ORA-32035: unreferenced query name defined in WITH clause 본문

DB/Oracle

ORA-32035: unreferenced query name defined in WITH clause

냐옴 2014. 2. 26. 18:50

with 절에 선언하고 사용하지 않을 때 발생


ex) BB 가상테이블 사용하지 않음

WITH AA AS

(

    SELECT '11' COL_NM FROM DUAL UNION ALL

    SELECT '22' COL_NM FROM DUAL UNION ALL

    SELECT '33' COL_NM FROM DUAL

)

, BB AS

(

    SELECT '44' COL_NM FROM DUAL UNION ALL

    SELECT '55' COL_NM FROM DUAL

)


SELECT * FROM AA

;


'DB > Oracle' 카테고리의 다른 글

인덱스 재생성  (0) 2014.06.17
Oracle Locks  (0) 2014.05.14
oracle, sql, with  (0) 2014.02.26
SELECT 랜덤하게  (0) 2014.01.22
Tora (Client Tool)  (0) 2013.08.30
Comments