ITeye博客

取得某时间段的数据SQL语句

wtsoftware · 2008-10-24 18:41 · 数据库 · Markdown

在SQLserver中可以利用getDate()来得到当前时间..从而判断是当前时间是否在某个范围内 select * from KM_notice where startTime<getDate() and closeTime>getDate();

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。