Re: Q: having problem when define a table type in PL/SQL

From: Luc Paré <lpa_at_ambrasoft.lu>
Date: 1996/04/02
Message-ID: <31610B9A.21FE_at_ambrasoft.lu>#1/1


xicheng qi wrote:
> =
 

> Hi group, I am having a problem when try to define a table type in
> PL/SQL. The code fragment is as follows:
> =
 

> TYPE table_type IS TABLE OF number INDEXED BY BINARY_INTEGER;
> =
 

> error message:
> Encountered the symbol "OF" when expecting one of the following "=
 ["
> Fatal syntax error unable to recover.
> =
 

> I am using FORM 4.5 on a window 3.1 system. Lots of thanks.
> =
 

> ----------
> dawei chang
> dawei_at_wam.umd.edu
> 3/30/96

It could work much better with INDEX instead of INDEXED!

TYPE table_type  IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
                                    ^^^^^

Luc Par=E9 Received on Tue Apr 02 1996 - 00:00:00 CEST

Original text of this message