I'm programming Classic ASP against a MySql Database connecting with ADODB and MySQL ODBC 5.3 ANSI Driver, but I have some problems when setting the date in the where of a simple MySql query, when my query is:
Select * from cdr where date(calldate)='20170901'
The query retrieve data in the asp page, thats ok, but when the query is
Select * from cdr where date(calldate) between '20170801' and '20170828'
When I print the query and then I copy from html and paste into Mysql Workbench, then it retrieve data, but when in the asp page itself does not retrieve a any data.
Any Ideas? I think maybe is something with de ODBC Driver.