| From: | simon <simon(dot)litwan(at)wyona(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | merge result sets |
| Date: | 2006-06-20 10:06:24 |
| Message-ID: | 1150797984.9136.7.camel@localhost.localdomain |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
hi all
i'm using postgres 7.3
my problem is i want to build a helper table:
UPDATE studienmodul_summary
SET kategorie = (SELECT kategorie_bezeichnung
if the SELECT gives back just one result row, everthing is easy. my
problem is, there is sometimes more than one result row.
is there a way to concatenate all result rows and insert them in one
field?
any hint is very much appreciated.
thanks
simon
--
Simon Litwan simon(dot)litwan(at)wyona(dot)com
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Florian G. Pflug | 2006-06-20 10:07:54 | Re: Adding foreign key constraints without integrity check? |
| Previous Message | Qingqing Zhou | 2006-06-20 09:23:06 | Re: problem connecting to server |