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

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

xslt - Umbraco and EXSLT sets do not work -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -