0
可以通過JSON_QUERY上的變量路徑嗎?我已經試過這ORACLE | JSON_QUERY,路徑爲變量
select
t1.ID,
JSON_QUERY(PRC_DATA, t2.key WITH WRAPPER)
from
TEST_JSON T1,
TEMPLATES T2
但它返回以下錯誤
ORA-40454: path expression not a literal
40454. 00000 - "path expression not a literal"
*Cause: The provided path expression was not a literal (a constant).
*Action: Provide a constant path expression.
Error at Line: 9 Column: 35
我不想使用Execute Immediate
,因爲我想這INSERT-SELECT
鍵JSON
到表。