UDF using C
For EG, the senario is like for 3 values(a,b,c) will be peforming some calculation and the end output d (will be a decimal one) i need to have that in the format of decimal(20,15) (it can be done in the sql part after getting the output from the function) , but is there any posibilty of performing in c program itself??
Still not too clear.
I guess you need to spend some time on the UDF manualls.
could also be a starting point
In generall you define the input and output data types in the create function statement
but you would need to take care in C that your value d is a decimal(20,15) value.