codefighta
Programmer
Hello,
The sql query (see below) containing a BETWEEN clause does not work. See errors below:
Any suggestions to get this working?
Thanks
cf
The sql query (see below) containing a BETWEEN clause does not work. See errors below:
Code:
SELECT sum(cost), desc, num, sum(qty), serialnum FROM itsim204.dbf WHERE type=6 AND (date BETWEEN '02/01/2004' AND '02/29/2004') AND serialnum='23651A' GROUP by num
[message] => DB Error: invalid number
[nativecode=22005 [Microsoft][ODBC Visual FoxPro Driver]Operator/operand type mismatch.]
Any suggestions to get this working?
Thanks
cf