![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
When in SSMS, I right-click and goto properties I get: Msg 8115, Level 16, State 2, Line 11 Arithmetic overflow error converting expression to data type int. The query that is causing the error is: ... /* overflow is from next column */ , CAST(ISNULL(( select sum(gs.size) * convert(float , 8) from sys.database_files gs where gs.data_space_id = g.data_space_id ) , 0) AS float) AS [Size] , CAST(CASE WHEN 'FD' = g.type THEN 1 ... The database is 23.22 TB, so I think the casting to a bigint is required, but this is internal SQL code generated from SSMS. |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |