sql server date to string format code example
Example 1: sql server convert string to date
Cast( '2011-07-07' as date ) as convertedDate
Example 2: SQL Date Format
SELECT FORMAT(dbo.column, 'M/dd/yyyy')
Cast( '2011-07-07' as date ) as convertedDate
SELECT FORMAT(dbo.column, 'M/dd/yyyy')