Dovberman
asked on
Oracle - Calling a parameterized function in a SQL Statement
I have a function named MyFunction
MyFunction has two input parameters.
A working SQL call to a function named Function2 with one parameter exists.
MyFunction has 2 parameters instead of 1.
a.Col1, b.Col1
nvl(Function2(a.Col1),' ') AS myComments,
What is the syntax for 2 parameters?
nvl(MyFunction(a.Col1),' ',???) AS myComments,
??? MyFunction(b.Col1)
Thanks
MyFunction has two input parameters.
A working SQL call to a function named Function2 with one parameter exists.
MyFunction has 2 parameters instead of 1.
a.Col1, b.Col1
nvl(Function2(a.Col1),' ') AS myComments,
What is the syntax for 2 parameters?
nvl(MyFunction(a.Col1),' ',???) AS myComments,
??? MyFunction(b.Col1)
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks. Very complete.
MyFunction (param1, param2)
If one of the parameters is the result of function2, so be it:
myfunction(nvl(Function2(a
From the description I do not understand what you are asking.