Subquery Using Analytical Function Fails with ORA-6502
(Doc ID 852834.1)
Last updated on JUNE 17, 2019
Applies to:PL/SQL - Version 220.127.116.11 to 18.104.22.168 [Release 9.2 to 11.1]
Information in this document applies to any platform.
This problem can occur on any platform.
Using an analytical function such as LAST_VALUE, MIN, MAX in a subquery to select a CHAR variable defined (with same length as the table definition) fails with error :
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at line 4
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document