`
xiecailian
  • 浏览: 7715 次
  • 性别: Icon_minigender_2
  • 来自: 长沙
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

sql server 时间问题

阅读更多
select id, case when  articleTime between (dateadd(day,-7,getdate())) and  dateadd(day,7,getdate()) then 1 else 0  end articleTime from articleTest
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics