MySQL Client out of memory when running a simple select query from MSSQL ODBC
The comparison of datetime with a string may cause odbc to retrieve the entire table before eliminating rows.  Either compare with a datetime constant or set the prefetch parameter in the odbc config to a reasonable value.