DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: ORA-06502: PL/SQL: character string buffer too small

  1. #1
    Join Date
    Apr 2007
    Location
    USA
    Posts
    110

    ORA-06502: PL/SQL: character string buffer too small

    All,
    I changed some datatypes from varchar2 to CLOB. Now a function throws up this error

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

    I have tried high settings for
    dbms_output.enable( 2000000)
    serverpout
    arraysize
    longchunksize etc to no avail.

    I understand there is a backend procedure (DBMS_?) that could help with this?

    Thanks for suggestions
    Looking for the greatest evil in the world? Look in the mirror.

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    I'm not totally following you but, are you referring to DBMS_LOB?
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  3. #3
    Join Date
    Nov 2000
    Location
    Pittsburgh, PA
    Posts
    4,166
    The error could be caused by nearly anything. Perhaps if you posted your code with the actual error stack, someone can help you with the error.

    Probably you have a varchar2 in the code that is too small. The error stack should give you a line number which should point to the variable that is causing the error.

  4. #4
    Join Date
    Apr 2007
    Location
    USA
    Posts
    110
    Thanks fellows. I stumbled over this and forwarded to the developer. It closely mirrors what his problem is...

    http://asktom.oracle.com/pls/asktom/...D:481421535472
    Looking for the greatest evil in the world? Look in the mirror.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width