|
Out of luck. SQL won't accept array elements and into cannot go into
an array.
I put a request for new features that you could do a fetch into an
array but of course who knows if they are ever going to do or at all.
On Thu, Aug 27, 2009 at 9:54 AM, Koester, Michael <mkoester@data-
east.com>wrote:
I am looking for an elegant way to code an embedded SQL statementthat
selects into, where the host target is an array.
As in:
Select Field1, Field2, Field3
into :MyArray(1), :MyArray(2), :MyArray(3) From *libl/MyTable
Where Key1 = :MyKey;
As an Amazon Associate we earn from qualifying purchases.
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.