Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Genereic reference type in PL/SQL?

Re: Genereic reference type in PL/SQL?

From: Martin T. <bilbothebagginsbab5_at_freenet.de>
Date: 13 Oct 2006 03:18:16 -0700
Message-ID: <1160734696.880120.42940@i3g2000cwc.googlegroups.com>


Thomas Blankschein wrote:
> Hello,
>
> > Why do you think you need pointers in PL/SQL? What's the task at hand?
>
> At first it is a quite academic question, if it's possible at all. The
> task where this came to my mind was a package which uses two arrays
> internally. Both arrays hold different data, but the interface is the
> same. So I thought about adding a second parameter to the functions and
> procedures which tells what array I want to use.
> I tried substituting the two independend arrays with an array of arrays
> where I can use the index directly, but it gave me several strange
> errors during use. So I returned to the two array solution.
>

Klingt komisch.

Care to post the code here?, because this sounds rather inelegant to my ears ...

cheers,
Martin Received on Fri Oct 13 2006 - 05:18:16 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US