Hi all,
I am sorry if this has been asked before. I couldn't find a similar discussion.
I am creating a procedure, where based on certain input parameters, I need to check if a few DB tables have values. If these tables have atleast one row for this given combination of parameters, I need to set a flag, which will be my output parameter.
Now I am trying to widen the scope of this procedure, by sending in a table of such import parameters, which will make this procedure more efficient. Needless to say, the output will also have to be of table form, where there will be a flag for each set of the parameters.
MY question is, how do I set the value of the flag in the procedure.
I have created a table type as below.
create type tt_scale as table ("SCALE" char(1) );
Now I have to use this in the procedure, and each row of this table will be set as a flag.
Hope this makes sense...
Thanks in advance.