Advertisement

05.25.2007 at 06:18AM PDT, ID: 22594701
[x]
Attachment Details

ORA-06502: numeric or value error: character string buffer too small

Asked by hans_vd in Oracle 10.x

Hi all,

I have a table in which I enlarged a column from varchar2(200) to varchar2(2000).  This column is processed in triggers and in those triggers it is passed as an argument to several procedures.  I modified all triggers, procedures so that they can work with the new datatype.  And it workts.  For one day.

Every morning when I insert or update a value into that varchar2(2000) column the first time it gives an ORA-065102: numeric or value error: character string buffer too small.

When I recompile the before insert/update for each row triggers behind the table this column belongs too, the error disappears.  The moment I do the recompilation every single object in the database is valid, including the triggers.

Any idea what might be the problem here?
(Oracle Database 10g Enterprise Edition Release 10.2.0.2.0)Start Free Trial
[+][-]05.25.2007 at 06:46AM PDT, ID: 19156789

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.25.2007 at 06:58AM PDT, ID: 19156879

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.25.2007 at 07:07AM PDT, ID: 19156939

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Oracle 10.x
Sign Up Now!
Solution Provided By: markgeer
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.25.2007 at 07:19AM PDT, ID: 19157030

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2007 at 01:26AM PDT, ID: 19166531

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.25.2008 at 06:31PM PDT, ID: 22310860

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]08.29.2008 at 07:28PM PDT, ID: 22350346

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32