I am trying to achieve the '' in varchar field instead of NULL if value is not present in the column.
SELECT JSON_OBJECT('name' VALUE 'nikhil') FROM DUAL
{'name' : 'nikhil'}
SELECT JSON_OBJECT('name' VALUE null) FROM DUAL
{'name': ''}
I am trying to achieve the '' in varchar field instead of NULL if value is not present in the column.
SELECT JSON_OBJECT('name' VALUE 'nikhil') FROM DUAL
{'name' : 'nikhil'}
SELECT JSON_OBJECT('name' VALUE null) FROM DUAL
{'name': ''}