i have an stored procedure wich return a Dataset(Table) how i can use the result of this stored procedure in a select statement?
i need something like this
Select T1.* from Dummy T0
INNER JOIN
(EXEC [dbo].[SPGetResults] '900',300,'USD') T1 ON T1.aKey=T0.aKey
i ' am using sql server 2005