Home Forums SQL Server 2008 T-SQL (SS2K8) Argument data type datetime is invalid for argument 1 of substring function RE: Argument data type datetime is invalid for argument 1 of substring function
Bhaskar.Shetty
Hall of Fame
Points: 3054
More actions
August 22, 2013 at 4:13 am
#1643827
Why not use DateName function instead of using case conditions !!, as the datatype of column you are checking is datetime.