Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL: Constants in TYPE declarations?
In message <bojtjf$99d$05$1_at_news.t-online.com> , FlameDance
<flamedance_at_gmx.de> writes
>How can I do what I want? Am I missing something? Any workarounds? Or is
>it simply not supported by PL/SQL?
Correct, it is not supported.
The closest approach might be to use the %TYPE (e.g. blah my_table.my_column%TYPE) to base your package variables on table column definitions.
-- Andy Hardy. PGP ID: 0xA62A4849Received on Sat Nov 08 2003 - 20:41:53 CST