最佳答案
在 SQLServer2000和2005中:
WHERE
条款有什么区别?问题一:
SELECT EventId, EventName
FROM EventMaster
WHERE EventDate BETWEEN '10/15/2009' AND '10/18/2009'
问题2:
SELECT EventId, EventName
FROM EventMaster
WHERE EventDate >='10/15/2009'
AND EventDate <='10/18/2009'
(编辑: 第二个 Eventdate 最初丢失,因此查询语法错误)