Can someone tell me what is wrong with this statement?
SELECT Category, Count(*) as Cat_tot
FROM spam_audit_log group By Category
ORDER BY Cat_tot Desc
It collects from a mySQL database. If I execute this in mySQL-Front it gives me the records I need. If I use the same statement as a VBscript ASP page I get no data. It seems like a straight forward basic statement.
SELECT Category, Count(*) as Cat_tot
FROM spam_audit_log group By Category
ORDER BY Cat_tot Desc
It collects from a mySQL database. If I execute this in mySQL-Front it gives me the records I need. If I use the same statement as a VBscript ASP page I get no data. It seems like a straight forward basic statement.