to_date sql
SELECT STR_TO_DATE('17-09-2010','%d-%m-%Y');
Bloody Beetle
SELECT STR_TO_DATE('17-09-2010','%d-%m-%Y');