当前位置: 首页 > 工具软件 > JSONQuery > 使用案例 >

JSON_QUERY Function (JSON)

阎经武
2023-12-01

The following query returns the value {"item1":1,"item2":2,"item3":3}.

SELECT JSON_QUERY('{"item1":1, "item2":2, "item3":3}', '$') AS JSONQUERY FROM DUMMY;
The following query returns the value [1].

SELECT JSON_QUERY('{"item1":1, "item2":2, "item3":3}', '$.item1' WITH WRAPPER ) AS JSONQUERY FROM DUMMY;

 类似资料: