If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Informix Error -1226 :Decimal or money value exceeds maximum precision.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-15-06, 10:00
dbatlanta dbatlanta is offline
Registered User
 
Join Date: Dec 2005
Posts: 11
Informix Error -1226 :Decimal or money value exceeds maximum precision.

Hi All,

I am getting this error when I am doing an ETL from DB2 to Informix.

Informix Error -1226 ecimal or money value exceeds maximum precision.

My source has a column with numeric(1,0).

I created the a column with numeric(1,0) in Informix but I see decimal(1,0) when I look at the datatype, it looks like it is changing numerica(1,0) automatically to decimal(1,0).

When I am loading it to the column it is giving me this error.

------Informix Error -1226 ecimal or money value exceeds maximum precision.


And my source has only one number(1,2,3 etc). But after loading the table it is giving me different numbers(0,0,0).

How do I solve this problem?

Thank you for your help in advance.
Reply With Quote
  #2 (permalink)  
Old 02-16-06, 09:14
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,

Please remember that you must save one character for the sign.
Remember too that, data types decimal and money manage float point. But numeric and integer not.

Gustavo.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On