Hi,
I'm writing a procedure, where I'm trying to save writing other procedures
by combining all of them in one procedure. All procdures take the same input
parameters so I would imagine this is possible.
What I was wondering was if it was possible for me to return different user
defined types. To try to illustrate what I mean, here's some example code
which I think is allowed:
if id="1" then
processing code
return usertype3;
elseif id="2" then
processing code
return usertype3;
elseif id="3" then
processing code
return usertype3;
endif;
Is this possible?
Cheers,
Ben