sql 查找一个月内数据

SELECT * FROM [bookinfo] WHERE addtime> dateadd(month, - 1, getdate())

posted @ 2013-01-21 14:31  王者杂货铺  阅读(516)  评论(0编辑  收藏  举报