I have a stored procedure that returns multiple columns. like colA colB colC …. colL
Can I write another query to get the same columns but if colC/colB <10% i.e WHERE filter by 10%. Basically the same columns as returned by the stored procedure should be shown but only now colC/colB should be <10%. I cannot modify the stored procedure as it is used in another application and I am just getting values from it.
I have a stored procedure that returns multiple columns. like colA colB colC ….
Share
You need to use table variable (@) or temp table (#), because you can’t select directly from the result set of a stored procdure: