Viewing 12 posts - 1 through 12 (of 12 total)
SSCrazy,
Yes I would like to output the results into one row per month. Please guide me on how I can achieve this.
September 30, 2014 at 9:11 pm
Romel,
What I attached was just a sample file. The data is quite large what sample size would you require to be in a position to help ?
September 19, 2014 at 1:12 pm
Find attached sample data for the 3 temp tables used.
I would like to obtain all data from the #BudgetAccount temp table however some data is not being displayed and...
September 19, 2014 at 12:41 am
Grant,
I have made the modification as below. It gives me duplicates...how can I remove these ?
isnull((select distinct (SUM(a1.ActualDebit) - SUM(a1.ActualCredit) ) from #MainAccount a1
LEFT OUTER JOIN
#BudgetAccount bb ON aa.AccountID =...
September 13, 2014 at 7:59 am
Moderator,
Kindly close this post, I have replicated it elsewhere
September 13, 2014 at 7:57 am
This is mind blowing......
I also realised also when I removed columns aa.refdate from the group by section it really did help a lot. The query mainly produces summed up...
September 13, 2014 at 4:25 am
Grant,
What do you mean by execution plan ?
September 13, 2014 at 4:22 am
Thanks Grant. That really does help a lot in speeding up.
September 13, 2014 at 4:21 am
Viewing 12 posts - 1 through 12 (of 12 total)