I have a stored procedure which is returning me about 50 columns. I want to write a query, where I will be able to select a particular column from the list of column returned by the SP.
I tried writing select RSA_ID from exec(uspRisksEditSelect '1')
But Its throwing me an error.
I think we need to write some dynamic sql for it. But I am new to it.