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 > Value exceeds limit of SMALLINT precision

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-08-11, 08:47
divak divak is offline
Registered User
 
Join Date: May 2008
Posts: 24
Value exceeds limit of SMALLINT precision

Hi,

I facing the above bug in my program.

I cudnt trackdown the error to the exact location as it doesnt shows me any line number or anything that helps to me to track it.

SInce its being a lengthy code, im finding ti difficult to resolve this.

can anyone help me how to locate the problem?

Thanks
Reply With Quote
  #2 (permalink)  
Old 07-15-11, 05:37
bigcalm bigcalm is offline
Registered User
 
Join Date: Jul 2009
Posts: 37
Ultimately, you're trying to insert or update a smallint field on a table with a value >= 32768 or value <= -32767

Either change the logic of your program to find where you're doing this and correct it, or modify the table to be an 'integer' rather than 'smallint'.
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