COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Framework Manager => Topic started by: kennedto on 22 Mar 2017 02:53:01 PM

Title: How to Quesry JSON
Post by: kennedto on 22 Mar 2017 02:53:01 PM
I am using  Congos 10.2 with DB2 10.  I have a table with a field that contains JSON format.
I would like to access a field in from the JSON.   What are the option for doing this?
Title: Re: How to Quesry JSON
Post by: rstenitzer on 07 Nov 2017 02:44:28 AM
Hi!

I do have the same requirement ( json in a table field).
Did you find any solution for your requirement?
Would be fine, if you can share your expiriences.
Thx in advance
Robert
Title: Re: How to Quesry JSON
Post by: the6campbells on 08 Nov 2017 09:22:10 PM
For any vendor with JSON data type or CLOB/VARCHAR hold a JSON value, you would need to use their SQL-JSON functions (i.e. JSON_VAL etc) to extract the fields of the JSON object into a supported data type.