当我执行时:
SELECT some_fields
FROM some_table
WHERE some_other_field BETWEEN '20130901' AND '20131131'
在将 VARCHAR 值“20131131”隐式转换为 SMALLDATETIME 字段期间出现错误 (247) 算术溢出。**
但是当我执行时:
SELECT some_field
FROM some_table
WHERE some_other_field BETWEEN '20130901' AND '20131130'
没有抱怨。(Sybase 15.7.0)