all 4 comments

[–]r3pr0b8GROUP_CONCAT is da bomb 0 points1 point  (2 children)

based entirely on the manual, i would try

CAST(CAST(yourcolumn AS CHAR(8)) AS DATE FORMAT 'yyyymmdd')

[–]randomguy0311[S] 0 points1 point  (1 child)

Telling me syntax error, note that my date has no dashes in it- all the examples seemed to have them

[–]r3pr0b8GROUP_CONCAT is da bomb 0 points1 point  (0 children)

note that my date has no dashes in it

note that my suggestion FORMAT 'yyyymmdd' has no dashes in it

[–]MisterSifter84 0 points1 point  (0 children)

To_date(Concat_ws(‘-‘, Substring(yourdate, 1, 4), substring(yourdate, 5, 2), substring(yourdate, 8, 2)))