Hi,
I need an urgent help. I need to create a UDF (User Defined Function) in DB2 SQL which can accept any number of arguments (from 2 to 5 arguments). I do not how to achieve this. When I pass 2 arguments to the function (please note that it is not a procedure), it should return one value, if u pass 3 arguments, it should give another value and so on until 5 arguments. If any of you know about such a method, please help me in solving this problem.
-- Prasanth
|