哪个被认为更好?
select * from TableA where productDate < '12/9/2013'
要么
select * from TableA where DATEDIFF(day, productDate, '12/9/2013') > 0
在浏览文章时,我读到使用Date函数(例如:datediff,dateadd),其中子句会对性能产生负面影响.这是真的?