Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2005-12-21 : 18:28:18
|
| Chris Mercado writes "My team has a query that is stomping all of us. We have a SUM query that displays multiple columns but do not want to see the entire first row since it displays "0" which is part of a calculation. We thought we could include a NOT clause within the WHERE statement, but removing the entire first row may change our calculation." |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2005-12-21 : 18:38:39
|
| You can use HAVING SUM(Column1) <> 0. If that doesn't work, please post your current code.Tara Kizeraka tduggan |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-12-22 : 02:25:47
|
| Post some sample data and the result you wantMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|