ORACLE -1401 error

Posted by Sachin Chourasiya on Stack Overflow See other posts from Stack Overflow or by Sachin Chourasiya
Published on 2011-01-06T15:47:01Z Indexed on 2011/01/06 15:54 UTC
Read the original article Hit count: 198

Filed under:
|
|

I have a stored procedure in Oracle 9i which inserts records in a table. The table has a primary key built to ensure duplicte rows doesnot exists.

I am trying to insert a record by calling this stored procedure and it works first time properly. I am again trying to insert a duplicate record and expecting unique constraint violation error. But I am getting ORA-01401 inserted value too large for column

I knew its meaning but my query is , if the value inserted is really large then how it got successful in the first attempt.

© Stack Overflow or respective owner

Related posts about Oracle

Related posts about stored-procedures