Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> putting parameters in one parameter....help!!
hi ,
i have a problem ...i have a procedure which takes variable number of
parameters and now the problem is that i need to put these incoming
parameters into one variable. This one variable is then to be passed to a
procedure which will then parse these parameters one by one... and break
them up again to get the orginal set of inputs...i hope i am clear...here is
my code
create or replace procedure main(argv in types.myarray)
is
par_value_list varchar2(100);
begin
for i in..argv.count loop
if argv.count !=1 then
/* i.e., the number of parameters is more than one, then...*/
par_value_list :='session_id='||argv(1)||';page_id='||argv(2)||; so on
An example would be: 2 variables being passed with the following values - argv(1)=10 and argv(2)=20, then the desired result is one text string containing--> 'session_id=10;page_id=20' Received on Wed Apr 28 1999 - 18:29:32 CDT
![]() |
![]() |