sql 查找一个月内数据

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

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