Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> ORA-01401 problem with tables in two different instances

ORA-01401 problem with tables in two different instances

From: zack <zz_monster_at_hotmail.com>
Date: 19 Aug 2001 22:56:13 -0700
Message-ID: <69c2d932.0108192156.15e1a9d5@posting.google.com>


Hi,

I'm writing a Pro C program that transfers data from one table into another table in a different instance using a dblink in Oracle 8i. Encountered the error: 'ORA-01401 inserted value too large for column' when trying to insert a particular field. This field is declared as a varchar(140) in the temporary structure that its being stored after fetching.
In both tables, the particular cloumn sizes are also defined as varchar2(140).
The field is null terminated after being fetched, and printf shows that length of the field is only 27 chars. There shouldn't be any errors in the dblink because when the above field is commented out, the insert statement worked fine with the other fields being uploaded.

appreciate if anybody could shed some light, thanks. zack Received on Mon Aug 20 2001 - 00:56:13 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US