I've spent last 3 hours googling the issue but nothing seems to work in Databricks SQL version specifically. I have to use a database, where someone decided it's best to store date as a STRING, there's no way around it short-term.
Current date format (STRING) is following: yyyyMMDD
What I want it to be is (DATE): yyyy-MM-DD
I tried CAST, I tried CONVERT, I tried 5 different solutions from stack and other website but the code seems to be written for SQL Dev where there are more functions available and I am forced to work with Databricks. I'd be grateful for any help!
tx!