SQL Error

pts.
Tags:
Management
Microsoft Windows
OS
Security
Servers
SQL Server
When attempting to upload a file to SQL Server, we receive this error:Arthimetic overflow error converting expression to data type int OnProject is the colaboration tool that is running on SQL. This error appears no matter what size file we try to upload.

Answer Wiki

Thanks. We'll let you know when a new response is added.

It has nothing to do with the file size. Look at the data being imported – there is a field being converted to an integer data type which causing the problem. Since an integer is defined as whole number data from -2^31 (-2,147,483,648) through 2^31 – 1 (2,147,483,647), it’s likely that character data is being inserted.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • SheldonLinker
    That's the cause. Here are the solutions: If the data is in error, fix the data. If the data is correct, redefine the field. In DB2, your best bet is DECIMAL, somewhere between DECIMAL(10) and DECIMAL(31), depending on the size of your data. In other DBMS dialects, use NUMBER(10) or larger. --- Sheldon Linker (sol@linker.com) Linker Systems, Inc. (www.linkersystems.com) 800-315-1174 (+1-949-552-1904)
    30 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following