Click here to Skip to main content
15,900,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,


I have a Stored Procedure. when i execute the SP it's return some data.
Now ,what is my requirement is i want to add one more column for that SP but that column is not available in my selected tables for that i'm adding one more table to that SP.Then i execute the SP means it's effect on the result.But i want the same result and display the selected column also, for that which join i want to used.Currently i'm using leftouter join but in this data is effected, right outer join also same.inner join also displayed only common data.


How to resolve this issue....

can anyone help me to solve this issue...
Posted

1 solution

If you add any column in select list of query than that column must return in your result set.
You can not hide column in your result set.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900