Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > output array el...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 15450 of 15987
Post > Topic >>

output array elements in rows

by Rainer.Zaiss@[EMAIL PROTECTED] May 3, 2008 at 09:19 PM

Dear list,

I'm looking for a function to output the elements of my array column  in 
rows ? Let's say I have following table:

id = integer
nam= array char varying

id    nam 
1     {"nam1","nam2","nam3"}
2    {"n1","n2"}

I think there should be available a function to expand the elements of an 
array of caractères into a set of rows ?


id    nam
1     nam1
1     nam2
1     nam3
2     n1
2     n2


THANK YOU VERY MUCH FOR YOUR HELP


-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 1 Posts in Topic:
output array elements in rows
Rainer.Zaiss@[EMAIL PROTE  2008-05-03 21:19:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 6 19:05:05 CDT 2008.