Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6958853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:11:40+00:00 2026-05-27T15:11:40+00:00

Using IBM Informix Dynamic Server Version 10.00.FC9 The error I’m getting is: 1226: Decimal

  • 0

Using IBM Informix Dynamic Server Version 10.00.FC9

The error I’m getting is:

1226: Decimal or money value exceeds maximum precision.

Normally, this makes perfect sense and I can fix the precision via CAST, but everything I try is still producing the same error.

I have three columns that I initially set to a constant of 0.00. After a few statements, I have updated two of these columns to positive decimals keeping the same precision.

When I try to multiply these two columns together to update the third column, I get the error above.

My update statement is: UPDATE table SET col_3 = col_1*col_2;


I’ve tried several things, but have had no luck in avoiding that error.

I tried setting the constant in col_3 to 0.000000.

I also tried updating using CAST on both the two sides of the multiplication and the final value:

UPDATE table SET col_3 = CAST((col_1) AS DECIMAL(6,2))*CAST((col_2) AS DECIMAL(6,2));

UPDATE table SET col_3 = CAST((col_1*col_2) AS DECIMAL(6,2));

Any combination of these attempts always results in the same error.

Does anyone know what I’m missing here or doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:11:40+00:00Added an answer on May 27, 2026 at 3:11 pm

    I needed to set the constant to 12.00

    I was missing the two places before the decimal

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using IBM Informix Dynamic Server Version 10.00.FC9 I'm looking to set multiple field values
I'm having trouble creating this stored procedure on IBM Informix Dynamic Server Version 10.00.FC9
Hi I am using IBM Websphere application Server 7.0 trial version and the priod
I try to connect to informix server 11.5 using using IBM.Data.Informix (located in C:\Program
We have an application using the IBM Informix driver. Whenever we try to open
I am using IBM Websphere Application Server v6 and Java 1.4 and am trying
I'm using IBM RAD with a WAS 7.0 application server. I'm developing a JSF
I am using IBM DB2 V 9.1.0.356. I am using DB2 JDBC driver version
I'm using IBM RAD as the IDE and Websphere Application Server v6.0 to deploy
What benefits do I gain by using IBM WebSphere Application Server Community Edition over

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.