Error seen with stored procedures dbo.UnusedFileNameIdFinder or dbo.UnusedPathNameIdFinder or dbo.UnusedAntibodyIdFinder similar to:
Msg 8115, Level 16, State 2, Procedure dbo.UnusedAntibodyIdFinder, Line 99 [Batch Start Line 0]
Arithmetic overflow error converting expression to data type int.
The statement has been terminated.
Msg 8115, Level 16, State 2, Procedure dbo.UnusedFilenameIdFinder, Line X [Batch Start Line 0]
Arithmetic overflow error converting expression to data type int.
The statement has been terminated.
Msg 8115, Level 16, State 2, Procedure dbo.UnusedPathnameIdFinder, Line 99 [Batch Start Line 0]
Arithmetic overflow error converting expression to data type int.
The statement has been terminated.
Incorrect DECLARE statement
This change will also be addressed with server version 8.11+ via EPCB-20506