Print Thread
Beautifier Support for JSON_TABLE?
#61845 07/02/20 02:07 PM
Joined: Sep 2004
Posts: 495
Dartmouth College, Hanover, NH...
Member
OP Offline
Member
Joined: Sep 2004
Posts: 495
Dartmouth College, Hanover, NH...
For your Enhancements Wishlist:

Please add support to Beautifier for the Oracle JSON_TABLE function.

SQL Query
SELECT *
  FROM json_table('[{id:"A10",cost:50,price:175,profit:125},
                    {id:"B5",cost:20,price:80,profit:60},
                    {id:"C42",cost:5,price:25,profit:20}]', '$[*]'
       COLUMNS (item_id VARCHAR2(255) PATH '$.id',
                item_cost NUMBER PATH '$.cost',
                price NUMBER PATH '$.price',
                profit NUMBER PATH '$.profit'))
I think the COLUMNS should be listed underneath each other, shown above, as in INSERT statements.

Thanks for your consideration.

Stew

Re: Beautifier Support for JSON_TABLE?
Stew Stryker #61846 07/03/20 08:18 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
I have added this to the list of enhancement requests.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.023s Queries: 15 (0.006s) Memory: 2.4987 MB (Peak: 3.0394 MB) Data Comp: Off Server Time: 2024-05-19 20:10:56 UTC
Valid HTML 5 and Valid CSS