


我的数据库里的datetiem 字段里的数据是这样的:2007-05-01 17:56:00.000(其中的一个)
string time = DateTime.Now.ToString("yyyy-MM-dd"); 这个取得的时间是这样的:2007-11-16
我现在就是想通过这个时间去找数据库里的当天记录,SQL语句该怎么谢啊??
//谢谢了。



非常感谢啊。。。。。。。。。。。。。。。

Select * From JobMaster Where Convert(Varchar(10), EntryDate, 120) = '2007-11-16'
这样也可以啊。。
