0
我正在使用SQL Developer對Oracle數據庫運行此查詢。它給我一個關於無效標識符「%s」的錯誤消息。我究竟做錯了什麼?錯誤報告:SQL錯誤:ORA-00904::無效標識符00904. 00000 - 「%s:無效標識符」
WITH security_menu_Recursive(Parent,MenuId,obj,LEVEL)
AS
(
SELECT MZMNI,MZMTOE,MZOBNM,0 AS LEVEL FROM
PRODDTA.PBS.PRODCTL.F00821
WHERE MZMNI = 'G5509L2'
UNION ALL
SELECT MZMNI,MZMTOE,MZOBNM,Level + 1 AS LEVEL
FROM PRODDTA.PBS.PRODCTL.F00821
INNER JOIN security_menu_Recursive AS smr ON smr.mENUID =
MZMNI
)
SELECT parent,menuid,OBJ,LEVEL FROM security_menu_Recursive