skip to Main Content

How To Parse JSON DATA IN ORACLE

A table has JSON data in the HUGECLOB column. And I want to parse it. How can I do it? {"errors":{"destination_country_id":["can not be blank"],"dispatch_country_id":["can not be blank"],"vehicle_id":["can not be blank"],"trailer_id":["can not be blank"]}} I tried this; SELECT t.* FROM table,…

VIEW QUESTION

JSON_TABLE – Get nodes regardless of path

In a XML like this: <item> <id>1</id> <name>ITEM 1</name> <subitems> <item> <id>2</id> <name>SUBITEM 1</name> <subitems/> </item> <item> <id>3</id> <name>SUBITEM 2</name> <subitems> <item> <id>4</id> <name>SUBITEM 3</name> <subitems/> </item> </subitems> </item> </subitems> </item> There can be several levels of subitems in the…

VIEW QUESTION

How to update json property of TimeStamp in oracle

I have one of the column audit_info with JSON data in the table: { "AddInfo":{ "UPN":"[email protected]", "UserName":"[email protected]", "TimeStamp":"2021-10-11T15:54:34:4805634Z", "Source":"xyz" }, "ChangeInfo":{ "UPN":"[email protected]", "UserName":"[email protected]", "TimeStamp":"2021-10-11T15:54:34:4832421Z", "Source":"xyz" } } I need to update TimeStamp of seconds decimal point from :4832421Z to .4832421Z…

VIEW QUESTION
Back To Top
Search