Okay, this is weird!
I had a (ASP -
VB Script) web application sitting on a Windows 2000 box with SQL Server 2005 as the backend.
Last month, we moved to a Windows 2003 machine, all the code stayed the same, as well as the backend.
The PROBLEM: Aggregate sql statements are not executing!
SELECT Sum(CarCost) as TheCost from Automotive;
This query returns no record. When I run it directly through the backend on SQL Server 2005, I get the amount I'm looking for.
So then I started doing more testing....Count(*), Sum(), Avg(), etc...none of them work...but a standard select, does.
Any clue folks?