Link to home
Start Free TrialLog in
Avatar of matthewallum
matthewallum

asked on

ASP/ADO bug with SQLserver

Im creating a recordset from ASP with the following query (the recorset type is forward only, no lock, textual command);

SELECT *  FROM core WHERE empvis != null AND eNews=1

eNews is a bit datatype and empvis is datetime (with nulls) . When I run it from ASP, it returns nothing, yet running from the SQL tool in Enterprise manager it returns lots (what I want). If I remove the eNews=1 bit then I do get data returned via ASP. Is this an ADO bug - any workarounds?

Matthew Allum
Avatar of Wiz_of_Oz
Wiz_of_Oz

what r the results of the qry
SELECT * FROM core
r they correct?
Avatar of matthewallum

ASKER

yep
ASKER CERTIFIED SOLUTION
Avatar of mitek
mitek

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks ! makes sense now and works ;)