需求是要查询变里面ext3里面为store的数据。
MYSQL(5.8版本之前)为:
SELECT TRIM(BOTH '"' from table.`ext3`->'$."store"') as storageNotes FROM table;
ORACLE为:
SELECT JSON_VALUE(hgi.ext3, '$.store') as storageNotes FROM table;
oracle结果为:
需求是要查询变里面ext3里面为store的数据。
MYSQL(5.8版本之前)为:
SELECT TRIM(BOTH '"' from table.`ext3`->'$."store"') as storageNotes FROM table;
ORACLE为:
SELECT JSON_VALUE(hgi.ext3, '$.store') as storageNotes FROM table;
oracle结果为: