|
Hello all, here's my query:
notes: amounts are either positive or negative the sum in the above query results in the wrong total, which i can't figure out. when i look at the raw data to validate the results it's not right. Can anyone help without actually seeing the data? Thank you! :)
(comments are locked)
|
|
Refer this to know how you can copy data from table to EXCEL using a query
(comments are locked)
|
|
I FIGURED IT OUT AND WHAT A DUMMY MOVE ON MY PART!!! I WAS COPYING AND PASTING THE RESULTS FROM SQL TO EXCEL AND THERFORE AND NOT COPYING THE ENTIRE RESULT SET! AS A RESULT OF THIS STUPIDITY, THE TOTALS WERE OFF. THE RAW DATA SUMS MATCHED UP TO TOTALS FROM THE CASE STATEMENT. NOTE TO ALL: DO NOT COPY RESULTS FROM SQL TO EXCEL...YOU MAY MISS DATA!!!
(comments are locked)
|
|
What do you mean by "wrong?" Can you help us reproduce using a test setup and a subset of the data? Like so: ok...sorry about that. I'll try to post some sample data.
Mar 02 '10 at 01:08 AM
katie 1 1
Also, when i say wrong I mean the total for sum(case...) = 642 and the sum in excel=309.
Mar 02 '10 at 01:16 AM
katie 1 1
(comments are locked)
|

