I do not believe DB2 supports arrays within sql, although I am not a DB2 SQL expert. What are you trying to accomplish with arrays? You may be able to accomplish the same thing with DB2 temporary tables.
Julen,
Like Dan, I believe that SQL does not provide the functionality of an array. The only way that I can see to do this would be to write an SQL procedure in a language that does support arrays and call it from SQL. Be aware though that you cannot pass an array to a stored procedure and if you wanted to do this you would have to pass the array as a varchar and parse it correctly from within the stored proc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.