I
I
ince2019-02-22 11:28:52
Oracle
ince, 2019-02-22 11:28:52

Missing right parenthesis in query?

SELECT JSON_OBJECT (
                    KEY 'region' IS p.state FORMAT JSON, 
                    KEY 'location' IS p.locality FORMAT JSON
                    ) "t" 
FROM CRE_AVG_PRICE_LOCATIONS p

The code doesn't work, says - the right bracket is missing (at the moment 'region').
CHADNT?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2019-02-22
@ince

What version of oracle?
json_object is only available since 12.2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question