How to convert string to datetime in sqlserver ?
I have date time 13072013, and i want to convert it to 2013-07-13
CONVERT(DATETIME,'13072013', 112)
How to do that ?
Regards,
I have date time 13072013, and i want to convert it to 2013-07-13
CONVERT(DATETIME,'13072013', 112)
How to do that ?
Regards,