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 SQL problem.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-06-09, 02:08
laptop2000 laptop2000 is offline
Registered User
 
Join Date: Apr 2009
Posts: 2
Informix SQL problem.

Hi All,

Can any help me out that how to solve this error in Informix.

OS Error Number: -1214
Message : E9004: Erro em SQL INSERT


Error -1214 is Value too large to fit in a SMALLINT


Pls suggest,
AJ
Reply With Quote
  #2 (permalink)  
Old 04-06-09, 02:51
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,407
I know nothing about Informix, but "Value too large to fit in a SMALLINT" seems pretty clear to me.

A quick search with Google reveals the following page, that explains the max. values that you can store in a SMALLINT

http://publib.boulder.ibm.com/infocenter/idshelp/v10/index.jsp?topic=/com.ibm.ddi.doc/ddi159.htm

You need to change the datatype for the SMALLINT column to INTEGER, or store smaller number.
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