synapsevampire
Programmer
Using SQL Server 2000
I assume that some database setting is causing this, but when I issue a query of:
select directrep from table
where directrep <> 'Blah"
it eliminates the nulls for that column as well.
I test this by using:
select count(*)
from
(
select directrep from table
where directrep <> 'Blah"
) A
where directrep is null
And I get zero, but if I use:
select count(*) from table
where directrep is null
I get 300,000 rows.
Is there some setting which causes this odd behavior?
-k
I assume that some database setting is causing this, but when I issue a query of:
select directrep from table
where directrep <> 'Blah"
it eliminates the nulls for that column as well.
I test this by using:
select count(*)
from
(
select directrep from table
where directrep <> 'Blah"
) A
where directrep is null
And I get zero, but if I use:
select count(*) from table
where directrep is null
I get 300,000 rows.
Is there some setting which causes this odd behavior?
-k