changing date formet in SQL code example
Example 1: SQL Date Format
SELECT FORMAT(dbo.column, 'M/dd/yyyy')
Example 2: sql convert date to string yyyy-mm-dd
select CONVERT(char(10), GetDate(),126)
/* 2020-12-23 */
SELECT FORMAT(dbo.column, 'M/dd/yyyy')
select CONVERT(char(10), GetDate(),126)
/* 2020-12-23 */