SQL Language (MOSC)

MOSC Banner

JSON: extracting values from array (only first item extractable?)

edited May 13, 2020 3:04AM in SQL Language (MOSC) 1 commentAnswered ✓

Good day folks,

Any help with the following would be appreciated!           

I am probably missing something obvious here but I'm not winning.

I have loaded the JSON data below into a BLOB field in a table.

I am trying to extract the various array items and the first array item [0] returns. The rest don't.

When I add the ERROR ON ERROR phrase to the statement I get an error returned ORA-40474 which reports a data issue. As far as i see there is no visible dodgy data.

If I fiddle around with the data I can sometimes get the other items to show but it is not consistent.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center