Select CAST('2013-10-08' as date)
Select Format(Convert(date,ColumnName),'yyyy-mm-dd') from Table_Name
Format
Select convert(date,getdate())
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)