select * from table1 where convert(varchar(10),日期字段,120)='2004-01-02'