Hi all
in SQLRPLGE i run this select to parse Json string; in Json there is a value with apex ("don't"), and this seems create problem at SQL . How can avoid this problem
SELECT err, err_code
FROM JSON_TABLE ('{"err":"Internal Error don't call the number xxx "}' , 'lax $' Columns
(err VARCHAR(120) PATH '$.err' default '' on empty,
err_code int PATH '$.err_code' default 0 on empty )) as X;
Thanks in advance
Gio
in SQLRPLGE i run this select to parse Json string; in Json there is a value with apex ("don't"), and this seems create problem at SQL . How can avoid this problem
SELECT err, err_code
FROM JSON_TABLE ('{"err":"Internal Error don't call the number xxx "}' , 'lax $' Columns
(err VARCHAR(120) PATH '$.err' default '' on empty,
err_code int PATH '$.err_code' default 0 on empty )) as X;
Thanks in advance
Gio
Comment