I have date value stored in format dd.mm.yyyy as longtext. I need to compare this value to CURDATE() within a SELECT statement. (Pleas
CURDATE()
SELECT
As Sergey comments: if MySQL, you can simply use STR_TO_DATE:
... WHERE STR_TO_DATE(longtext_date_value,'%d.%m.%Y') <= CURDATE() ...