sql大概为: select * from table where time > '2017-1-1' 出错 select * from table where time > '2016-1-1' 正确 有记录 select * from table where time > '2018-1-1' 正确 无记录 出错信息为: 消息 245,级别 16,状态 1,第 1 行 在将 varchar 值 'A' 转换成数据类型 int 时失败。 有2台服务器,版本是一样的sql2008 r2,只有其中