× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,

I'm trying to write an SQL Stored procedure and want to use arrays.
I've found examples on IBM sites for the following...

CREATE TYPE BIGINTARRAY AS BIGINT ARRAY[INTEGER];

and

CREATE TYPE CHARARRAY  AS CHAR(10) ARRAY[VARCHAR(3)];

It doesn't like the Integer type or the VARCHAR typingm with following message...
Position 41 Token INTEGER was not valid. Valid tokens: ].

Apparently Stored Procedures don't like arrays on i/OS (v7r3)?
How can I use arrays in SQL/PSM?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.