I am very new to Oracle and Clob datatype.
We have a table with name ABC which has a column of CLOB data type.
The Clob Column "MyClob" has following text data:
{ "UD_1":"John", "UD_2":"Doe", "UD_3":"1011=John Doe"}
When I query the table 'ABC' using below query,
Select Id,
JSON_VALUE(MyClob, '$.UD_1') FirstName
JSON_VALUE(MyClob, '$.UD_2') LastName
JSON_VALUE(MyClob, '$.UD_3') Status
From Abc
I get the following table:
Id FirstName LastName Status
1 John Doe 1011=John Doe
2 Jack Ham 2022=Jack Ham
I want to update only the 'UD_3' value for one of the rows. I am not sure how to write an update query to update the text in Clob column.