Tom Moreau
3/22/2007 5:45:00 PM
Was there any INSERT or UPDATE activity during this period?
--
Tom
----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
.
"Charles" <cwindhausen@gmail.com> wrote in message
news:1174585206.429248.294990@n76g2000hsh.googlegroups.com...
I've a table with a very large number of rows. The [Version] column is
a bigint that is nullable. Here's the results of some queries:
select count(*) from Events
3214670
select count(*) from Events where Version is null
3105991
select count(*) from Events where Version is not null
1318812
What in the wide, wide world of sports is going on here? I expect the
sum of the two lower values should equal the first but 1318812 +
3105991 != 3214670. Instead it's equal to 4424803. Can someone explain
this discrepancy?
Thanks
Charles