I have DateTime saved as Integer in row of table in format 20111111. I want to display it by select to : 2011-11-11.
Please give me some as simpliest solution.
The Datetime
is in table and looks like:
Table_name
20111212
20111113
20111212
and i want to display it like
Table_name
2011-12-12
2011-11-13
2011-12-12
MS SQL Server 2012