Quantcast
Channel: Answers for "sum(case ....) is coming up with wrong answer...need verification"
Browsing all 6 articles
Browse latest View live

Answer by Nathan Skerl

What do you mean by "wrong?" Can you help us reproduce using a test setup and a subset of the data? Like so:declare @Table table (name varchar(50), amount int) insert into @Table select 'AAAAA', 1...

View Article



Answer by katie 2

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...

View Article

Answer by Madhivanan

Refer this to know how you can copy data from table to EXCEL using a queryhttp://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926

View Article

Answer by Nathan Skerl

What do you mean by "wrong?" Can you help us reproduce using a test setup and a subset of the data? Like so:declare @Table table (name varchar(50), amount int) insert into @Table select 'AAAAA', 1...

View Article

Answer by katie 2

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...

View Article


Answer by Madhivanan

Refer this to know how you can copy data from table to EXCEL using a queryhttp://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926

View Article
Browsing all 6 articles
Browse latest View live




Latest Images