In MySQL 4.0.21-standard, I have a table with a date, saved as a string.
I want to compare this string with a date in my request.
SELECT FE_CLIENT.*
FROM FE_CLIENT
WHERE D_DATFINPUBLI < '2010/06/03'
How can I cast my column date_deb to a date for compare?
Just format your string to proper format before query execution
or, if you want it strictly with mysql,
EDIT:
D_DATFINPUBLI field must be of
datetype and have format of2010-06-03