GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Support native JSON data type of Oracle Database 21c · Issue #1114 · utPLSQL/utPLSQL Closed Labels DescriptionIs your feature request related to a problem? Please describeThe Oracle Database 21c provides a native utPLSQL should support this data type similar as Currently the use of the native JSON data type leads to a runtime error. Describe the solution you'd likeThe following code create table t ( id integer primary key, value json ); insert into t values (1, '{"a":"value a"}'); insert into t values (2, '{"a":"value a2"}'); commit; declare l_actual sys_refcursor; l_expected sys_refcursor; begin open l_actual for select value from t where id = 1; open l_expected for select value from t where id = 2; ut.expect(l_actual).to_equal(l_expected); end; / should produce this result: currently this code produces the following runtime error: Describe alternatives you've consideredAs a workaround, you can manually convert the Here's an example: declare l_actual json_element_t; l_expected json_element_t; l_json json; begin select value into l_json from t where id = 1; l_actual := json_element_t.parse(json_query(l_json, '$' returning clob)); select value into l_json from t where id = 2; l_expected := json_element_t.parse(json_query(l_json, '$' returning clob)); ut.expect(l_actual).to_equal(l_expected); end; / As you see the code for Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |