ORA-06502 During Processing Interactive Report with Many Columns

(Doc ID 2331775.1)

Last updated on NOVEMBER 28, 2017

Applies to:

Oracle Application Express (formerly HTML DB) - Version 5.1.3.00.05 and later
Information in this document applies to any platform.

Symptoms

An Interactive Report based on many columns, returns ORA-06502 error at run time.

Error: 

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

Debug Output:

Exception in "MY_IR":
Sqlerrm: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Backtrace: ORA-06512: at "APEX_050100.WWV_FLOW_WORKSHEET", line 4304
ORA-06512: at "APEX_050100.WWV_FLOW_WORKSHEET", line 11577

Changes

Created an Interactive Report based on tables and views with more than about 200 columns.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms