2025 Jun 12 11:02 AM - edited 2025 Jun 12 11:18 AM
For some reason, I need a query that builds all the input parameters of a given procedure along with their values in one string, the query should work with any procedure regardless of the number of the input parameters.
For example I have such a procedure:
create or replace procedure mytest (par1 varchar(10) , par2 varchar(10), par3 int)
result (ss long varchar)
begin
select 'how can i write this?'
end;
And my call looks like this:
select * from mytest('abc', null, 3)
Then I expect the result like this:
par1='abc', par2=null, par3=3
Request clarification before answering.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.