select getdate()-1 SELECT DATEADD(DAY, -1, GETDATE()) 或者用DateDiff函数 select convert(varchar(10),getdate()-1,120) 相关文章: