I (unfortunately) have some dates that were saved into varchar columns. These columns contain dates in the following format:
mmddyy
For example:
010110
I need to import these values into a table which is set to datetime and formats dates like this:
2010-09-17 00:00:00.000
How can I convert the string above into a datetime value below?