Hello, I am wondering if it is possible to call a stored procedure from a select statement?
Basically what I want to do looks like this: (DO_STUFF is the stored proc)
SELECT A.ID, A.NAME, A.AMOUNT,
DO_STUFF(A.AMOUNT)
FROM SOMETABLE A
Any help on how I can accomplish this or if it even can be done is appreciated.
Basically what I want to do looks like this: (DO_STUFF is the stored proc)
SELECT A.ID, A.NAME, A.AMOUNT,
DO_STUFF(A.AMOUNT)
FROM SOMETABLE A
Any help on how I can accomplish this or if it even can be done is appreciated.