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
Post a Comment