Search
 
SCRIPT & CODE EXAMPLE
 

SQL

json_value oracle

SELECT JSON_VALUE('{a:100}', '$.a') AS value
  FROM DUAL;

VALUE
-----
100

SELECT JSON_VALUE('{a:100}', '$.a' RETURNING NUMBER) AS value
  FROM DUAL;

     VALUE
----------
       100
       
SELECT JSON_VALUE('{a:{b:100}, c:{d:200}, e:{f:300}}', '$.*.d') AS value
  FROM DUAL;

VALUE
-----
200

SELECT JSON_VALUE('[0, 1, 2, 3]', '$[0]') AS value
  FROM DUAL;

VALUE
-----
0
Comment

PREVIOUS NEXT
Code Example
Sql :: check for directory in bash 
Sql :: truncate psql 
Sql :: location of the log postgresql linux 
Sql :: uncheck constraints and delete from table 
Sql :: error 1054 mysql 
Sql :: sql full outer join with where clause 
Sql :: oracle create package body 
Sql :: insert or ignore postgres 
Sql :: select odd records sql 
Sql :: smallint sql 
Sql :: postgre query date 
Sql :: mysql best tutorial for beginners 
Sql :: mysql function to remove multiple spaces from the string 
Sql :: show function mysql 
Sql :: create table postgresql 
Sql :: SQL add a totals of differemt rows of the same id 
Sql :: bigquery current time 
Sql :: mysql keyword search 
Sql :: copy a table mysql 
Sql :: See Foreign Key 
Sql :: how to delete user sql server 
Sql :: change password in mysql 
Sql :: copy from one table to another postgres using matching column 
Sql :: how to put is null in where in clause 
Sql :: sql max min 
Sql :: sql select data type of query 
Sql :: mysql query where in select 
Sql :: sql use with to get value counts and percentages 
Sql :: SQL DATEDIFF(date_part, start_date, end_date) 
Sql :: postgres insert into table 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =