Why do you want to have this MoneyAmountAvg column in the same table?
Why not to move it to another table or view? Or if it is much more complicated than in your example then create a stored procedure returning a user defined table type?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |