Getting error while running maintenance plan
-
Wednesday, April 11, 2012 11:11 AMMicrosoft SQL-DMO (ODBC SQLState: 22003)] Error 220: [Microsoft][ODBC SQL Server Driver][SQL Server]Arithmetic overflow error for data type smallint, value = 65535.
[Microsoft][ODBC SQL Server Driver][SQL Server]Arithmetic overflow error for data type smallint, value = 65535.
[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.
NULL
All Replies
-
Wednesday, April 11, 2012 11:23 AM
Hi,
What's your maintenance plan doing? Please provide details.
You're getting the arithemetic overflow message because something in the plan is trying to insert the value 65535 into a field that accepts values between -2^15 (-32,768) to 2^15-1 (32,767) (http://msdn.microsoft.com/en-us/library/ms187745.aspx)
Thanks,
Andrew Bainbridge
SQL Server DBA
Please click "Propose As Answer" if a post solves your problem, or "Vote As Helpful" if a post has been useful to you -
Wednesday, April 11, 2012 11:24 AMfor what, you are using maintenance plan please share more details
Please click "Propose As Answer" if a post solves your problem, or "Vote As Helpful" if a post has been useful to you
-
Wednesday, April 11, 2012 11:38 AMit is just index rebuild maintenace plan.
-
Wednesday, April 11, 2012 11:41 AM
are you using the native SQL Server task?
I recommend using this popular index maintenance utility fromL: http://ola.hallengren.com/
Please post your SQL Server version and OS
Thanks,
Andrew Bainbridge
SQL Server DBA
Please click "Propose As Answer" if a post solves your problem, or "Vote As Helpful" if a post has been useful to you -
Wednesday, April 11, 2012 1:29 PM
have you created the maintenance plan with the same SQL Server Management Studio version as the SQL Server executing the maintenance plan?
SSMS 2012 may generate incompatible packages on older version of SQL Server.
-
Thursday, April 12, 2012 4:53 PMModerator
Hi RovalM,
An arithmetic overflow is caused by a calculated column value that exceeds the column's specified size. When this error occurs, the calculation stops and the remainder of the results pane is not filled.
For more information, please refer to http://msdn.microsoft.com/en-us/library/ms163363(v=sql.105).aspx.
Thanks,
MaggiePlease remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.
- Marked As Answer by Maggie LuoMicrosoft Contingent Staff, Moderator Tuesday, April 24, 2012 8:34 AM

