标识符 'APEX_JSON.PARSE' 必须在 oracle 11.2.0 中声明
Identifier 'APEX_JSON.PARSE' must be declared in oracle 11.2.0
我想在 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production 中解析 JSON。但是报告了以下错误:
ORA-06550: line 4, column 5:
PLS-00201: identifier 'APEX_JSON.PARSE' must be declared
这是我的示例代码:
DECLARE
s varchar2(32767) := '{ "a": 1, "b": ["hello", "world"]}';
BEGIN
apex_json.parse(s);
sys.dbms_output.put_line('a is '||apex_json.get_varchar2(p_path => 'a'));
END;
这个版本支持这个功能吗?
这取决于您数据库中的 APEX 版本,我猜您的 11.2 实例上可能仍然是 4.x。
SELECT VERSION_NO FROM APEX_RELEASE;
apex_json 包是在 5.0 中引入的
http://docs.oracle.com/cd/E59726_01/doc.50/e39149/apex_json.htm#AEAPI29635
我想在 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production 中解析 JSON。但是报告了以下错误:
ORA-06550: line 4, column 5:
PLS-00201: identifier 'APEX_JSON.PARSE' must be declared
这是我的示例代码:
DECLARE
s varchar2(32767) := '{ "a": 1, "b": ["hello", "world"]}';
BEGIN
apex_json.parse(s);
sys.dbms_output.put_line('a is '||apex_json.get_varchar2(p_path => 'a'));
END;
这个版本支持这个功能吗?
这取决于您数据库中的 APEX 版本,我猜您的 11.2 实例上可能仍然是 4.x。
SELECT VERSION_NO FROM APEX_RELEASE;
apex_json 包是在 5.0 中引入的 http://docs.oracle.com/cd/E59726_01/doc.50/e39149/apex_json.htm#AEAPI29635