Loading topic
CREATE TABLE, INSERT, SELECT) and know what JSON objects, arrays, and scalar values are. The native JSON type needs Oracle Database 21c or later. The IS JSON con5 min readJSON_VALUE, JSON_QUERY, JSON_EXISTS, and JSON_TABLE. If you learn the path language once, you can use it in all of them.6 min read$.customer.name and $.items[0], and that you have the orders table from the earlier chapters on Oracle Database 21c or later. The three functions below are the main tools for reading JSON inside a SQL statement. Most mistakes5 min read$.items[*].sku, and that you have the orders table from the earlier chapters (a JSON column named doc, Oracle Database 21c or later). JSON_TABLE also works on VARCHAR2, `CL5 min readJSON_TABLE with a single row path, as in the previous chapters. It uses the orders table from earlier. It needs Oracle Database 21c or later for the JSON column type. The JSON_TABLE syntax itself also works on 195 min readJSON_OBJECT, JSON_ARRAY, JSON_ARRAYAGG and JSON_OBJECTAGG. This is how you return document-shaped results from normalized tables without storing a copy of them.5 min readorders table from earlier chapters. It has a JSON column named doc that holds order documents with customer, status, and an items array. You need Oracle Database 21c or later for the JSON type. JSON_TRANSFORM is4 min readorders table with a native JSON column (Oracle Database 21c or later).5 min readJSON_TABLE, and JSON_TRANSFORM. No new syntax appears here. The chapter explains the design problem that JSON-relational duality views6 min readJSON_VALUE and JSON_TABLE read documents. It also assumes you have Oracle Database 23ai or later, because duality views do not exist in 21c.5 min readdepartment, employee, and department_dv exist as defined there. It also assumes you are on Oracle Database 23ai and know basic transactions (COMMIT, ROLLBACK). Here you use the view to write documen5 min readJSON type, JSON_VALUE, JSON_TABLE, JSON_TRANSFORM, JSON indexes, and duality views. Here you will turn that toolbox into decisions. Oracle Database gives you four ways to hold the same business data6 min read