bluecjh
Programmer
- Mar 12, 2003
- 385
a simple query:
SELECT COUNT(Field1)
FROM #Temporarytable1
WHERE Field1 = 1
Not: Field1 is a BIT datatype
I am using sql server 6.5 and Excel 97
the above returns a valid (correct) number in the QA and
zero(0) in my ADO recordset. If I remove the WHERE
clause the results agree? (i.e. the QA and ADO/Excel
get the same correct figure) but with the WHERE clause Excel/ADO fails, why might this be?
Thanks.
SELECT COUNT(Field1)
FROM #Temporarytable1
WHERE Field1 = 1
Not: Field1 is a BIT datatype
I am using sql server 6.5 and Excel 97
the above returns a valid (correct) number in the QA and
zero(0) in my ADO recordset. If I remove the WHERE
clause the results agree? (i.e. the QA and ADO/Excel
get the same correct figure) but with the WHERE clause Excel/ADO fails, why might this be?
Thanks.