Try this query to change the column to the appropriate format for the text date (suppose a table named table and a column named date ):
update table set date = substr(date, 7) || "-" || substr(date,4,2) || "-" || substr(date, 1,2);
You can also include this in the where clause for this answer .
Greg source share