sql - Using the result of an Stored procedure in a Select statement -


i have stored procedure returns dataset(table). how can use result of stored procedure in select statement?

i need this

select t1.*  dummy t0      inner join      (exec [dbo].[spgetresults] '900',300,'usd') t1       on t1.akey=t0.akey 

i'm using sql server 2005

create table-valued user-defined function instead.


Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -