Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Pro*C and multidimensional arrays
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