额,smalldatetime是 yy-mm-dd-时分秒的
我现在查询 select *from table where 日期=yy-mm-dd  就可以了,不需要匹配后面的时分秒
请我smalldatetime这个类型的字段要怎么使用匹配呢?