I have one stored procedure which is giving me an output (I stored it in a #temp table) and that output I\'m passing to another scalar function.
stored procedure
scalar function
You could use this:
SELECT Ename , Eid , ISNULL(Eprice, 0) as Eprice, Ecountry from Etable Where Ecountry = 'India'