|
might be to use a single JSON object parameter which contains your actual
I don't know how you're calling your routines but maybe a workaround
'default1');
Something along these lines:
create or replace procedure MY_SP(
in PARMS json
)
begin
declare MY_PARM1 varchar(256);
declare MY_PARM2 varchar(256);
set MY_PARM1 = coalese(json_unquote(json_extract(PARMS , '$.myparm1')),
set MY_PARM2 = coalese(json_unquote(json_extract(PARMS , '$.myparm2')),'default2');
: : : : : : : :
end
call MY_SP(json_object('myparm1', 'Hello World!'))
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.