I am converting varchar datatype to datetime but it is throwing out of range exception.
Below conversion is failing
SELECT CAST('20130229' as DATETIME)
But it is working fine for the other date. Some date are given below for which it is working fine
Can anybody help me on this?
There is no February 29th in 2013.
You try to display the date 29th feb 2013 , but in 2013 calender is not a leapyear how to display the date 29. please be concentrate on this...
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)