declare @dateX smalldatetimeset @dateX = '2001-1-3'--本月多少天SELECT 32-Day(@datex+32-Day(@datex)) 就是这么简单。 相关文章: