September 19, 2014 at 12:41 am
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 i think it could be because of the Joins. I have tried the full outer join on the #MainAccount and #BudgetTable but it still leaves out some data in the #BudgetAccount temp table.
Hope it helps
September 19, 2014 at 12:35 pm
at both BudgetAccount and MainAccount there are 100 rows. BudgetAccount consists 5 unique accountID and MainAccount consists of only one where as there is 104 unique AccountID in display table. So I think you didn't provided me complete set of data. here query for display table is taking fraction of second. Is your data too large to be shared? or confedential?
September 19, 2014 at 1:12 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 11:56 pm
A size where I can find the delay. And if BudgetAccount and MainAccount have 100 rows then display table should be based on those rows. I am really want to try helping you.
September 22, 2014 at 3:11 am
See attached.
September 26, 2014 at 3:35 am
Romel,
Any response yet ?
Regards,
September 30, 2014 at 9:11 pm
SSCrazy,
Yes I would like to output the results into one row per month. Please guide me on how I can achieve this.
Viewing 7 posts - 16 through 21 (of 21 total)
You must be logged in to reply to this topic. Login to reply