I’m importing a column of strings with partial dates into a csv file.
During import, is there a way to convert strings with the format “September 23” into a DATETIME format, using the partial date to populate month, day and year, and the time of insert as the time?
Edit: I clarified the question, so the below answers aren’t quite relevant.
This is ugly, but it works. The main problem was creating the year and time, and also dealing with single numeric values for the days of the month.
CONCAT_WSis the glue in this scenario:Returns: