SQL Server - add a column to the result of a stored procedure -


i have stored procedure in sql server executes this

exec @return_value = sp        @value1 = 'a',        @value2 = 'b' 

and result is:

value3 | value 4 | value 5 

i need add columns value1 , value2 result (yes, same use execute stored procedure). there no chance change stored procedure, because project. possible do?

i work oracle, don't know if maybe it's simple, or maybe can't done.

thanks answers!

store proc results temp table.

https://stackoverflow.com/a/1228165/6167855

then like

select @value1, @value2, t.* #temptable t 

Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -