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.
Hope this helps,
Marc