My Oracle Support Banner

PLS-00707 [2610] When Creating Object Type (Doc ID 2976676.1)

Last updated on JULY 20, 2024

Applies to:

PL/SQL - Version 19.10.0.0.0 and later
Information in this document applies to any platform.

Goal

When creating object type with it's member procedure having SQLCODE as default value for parameter, one gets
PLS-00707: unsupported construct or internal error [2610]


Here is an example code to reproduce the error:


Removing parameter with default sqlcode value compiles code without errors.

Solution

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
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.