数据库项SMT_date为日期,格式为2009-01-01 12:01:01,排序只取年月日,具体时间过滤掉
已知access的用法是:order by Format(SMT_date, 'yyyy-MM-dd')
那么mssql数据库查询语句应该如何写呢?