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 - 2006-03-24 : 08:26:08
|
| reddy17 submitted "how to write a query for sum of count(column1) and count(column0 from same table" |
|
|
Srinika
Master Smack Fu Yak Hacker
1378 Posts |
Posted - 2006-03-24 : 08:55:43
|
Select (Select count(col1) from SameTbl) + (Select count(col0) from SameTbl)But I don't feel any sense of the Question!! Can u explain y do u need this?If possible with some sample data and expected results |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-03-24 : 09:13:01
|
| Do you want to know how many values are not null?MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|