If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I need to execute some calculation which is too complex for implement in UDF, so I plan to do that calculation in stored procedure and return result thru OUT parameter.
Problem is that I don't know how to read OUT parameter in UDF and return it as UDF result.
If your UDF is SQL, you cannot even call the SP, so getting the OUT parameter is moot. Your UDF will have to be C or Java to be able to call a SP. Then you use the normal way for that language to get the OUT parameter.