PL/SQL (MOSC)

MOSC Banner

ORA-06550 and PLS-00487 when declaring a record with a field being a nested record reference whose t

edited Jan 17, 2013 3:22AM in PL/SQL (MOSC) 6 commentsAnswered
 Hi everybody,
Sorry for the title, I know it doesn't make much sense, but I didn't know how to express it in a simpler way.
Anyway, a colleague of mine presented me with PL/SQL issue. I couldn't really tell if this was expected behaviour or not, even after reading the Oracle PL/SQL manual, so I'm submitting it to this community.

The problem is fairly simple. I have a table called PRICE. When I declare a record with a field named PRICE, and another field referecing COL1 of the PRICE table, I get an error.

Here is how to reproduce:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center