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: Arrays iin PL/SQL

Re: Arrays iin PL/SQL

From: Kevin Conley <kmconley_at_best.com>
Date: 1996/11/16
Message-ID: <328E8FE4.156E@best.com>#1/1

EDB wrote:
>
> Hi,
>
> I'm writing a PL/SQL program and would like to know if there's anyway of
> using an array concept in PL/SQL just like in other lang.
> If yes, how to do that? Can I also do such thing in PL/SQL, e.g.
>
> variable1, variable2, variable3 , ...etc is variables defined as
> varchar.
>
> in my PL/SQL pgm, can I have such code?
>
> For T in 1 .. 3 loop
>
> tmp := 'variable' || T;
> test := tmp;
>
> end loop;
>
> would like tmp to refer to the variable, i.e. variable1, variable2,etc.
> How can I do that in PL/SQL?
>
> Appreciate your help.
>
> TIA ....
>
> Mun Kong

Check out the "Oracle PL/SQL Programming" book by O'Reilly & Associates. ISBN - 1-56592-142-9.

Good luck,

        Kevin Conley Received on Sat Nov 16 1996 - 00:00:00 CST

Original text of this message

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