Subject | Re: Stored Procedure as a Function? |
---|---|
Author | rogervellacott |
Post date | 2003-09-26T13:42:56Z |
Here is an odd but effective and efficient way of doing it
SELECT A.*, SP.SP_RESULT FROM TABLE_A A
JOIN MY_SP(A.INPUT_PARAM_1,A.INPUT_PARAM_2,etc) SP
ON 1 = 1
It's not documented, but it works.
Roger Vellacott
SELECT A.*, SP.SP_RESULT FROM TABLE_A A
JOIN MY_SP(A.INPUT_PARAM_1,A.INPUT_PARAM_2,etc) SP
ON 1 = 1
It's not documented, but it works.
Roger Vellacott