18
我试图获得列总数,但是当我运行此查询时出现以下错误。有什么建议?SQL Server中列总和的算术溢出
SELECT SUM(Size) as total
FROM AllDocs
Where DirName LIKE 'sites/test/test%'
ERROR:
Msg 8115, Level 16, State 2, Line 1
Arithmetic overflow error converting expression to data type int.
Warning: Null value is eliminated by an aggregate or other SET operation.
什么是[尺寸]的数据类型? – 2009-08-03 15:08:20
数据类型为int – 2009-08-03 15:09:55