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: Pro*C and multidimensional arrays

Re: Pro*C and multidimensional arrays

From: Maurizio Canestraci e Andrea Venturini <omega_at_starlink.it>
Date: 1997/02/04
Message-ID: <32f732d5.13300143@news>#1/1

On 3 Feb 1997 23:32:25 GMT, "J. Kupik" <jkupik_at_neuraltech.com> wrote:

>Does anybody know the way to do something like this:
>
>----
>char array2dim[2][3];
>
>-----
>
>EXEC SQL array2dim[0] IS STRING;
>
>I've received an error on this declaration:
>
>(1) PCC-S-02201, Encountered the symbol "[" when expecting one of the
>following:
>
> . -> is,
>
>Thanks,
>

Try this:

EXEC SQL BEGIN DECLARE SECTION;
        VARCHAR array2dim[2][3];
EXEC SQL END DECLARE SECTION; We use this style syntax in our projects, and they work properly.

Bye. Received on Tue Feb 04 1997 - 00:00:00 CST

Original text of this message

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