By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,287 Members | 1,284 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,287 IT Pros & Developers. It's quick & easy.

User Defined Function in DB2 Urgent Help please

P: 1

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
Mar 22 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.