Hi Guys how can I fix this problem in SQL server please ?

RACHID FIRAS 20 Reputation points
2023-11-14T16:37:52.4+00:00

Arithmetic overflow error converting expression to data type int.

Warning: Null value is eliminated by an aggregate or other SET operation.

Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,784 questions
0 comments No comments
{count} votes

Accepted answer
  1. HariHaran Ramalingam 151 Reputation points
    2023-11-14T17:06:50.7966667+00:00

    Hi Rachid Firas,

    if you are converting varchar to int ? Please see if you have exceed the maximum value of Int..

    The maximum values for an integer in SQL Server are:

    -2147483648 through 2147483647


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.