create table table_1
date_from datetime
go插入数据
insert into table_1(date_from)values('2011-1-4')select * from table_1
2011-1-4 00:00:00:000select convert(char(10),date_from,111) as date_from from table_1
2011-1-4总感觉用函数会影响效率,请问如何不用convert等函数而达到只显示年月日的效果?