Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Ingres Topics / July 2005

Tip: Looking for answers? Try searching our database.

concatenate multiple rows

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Simon - 13 Jul 2005 01:15 GMT
I'm new to Ingres.
I have the following data in one table:

id              description_id         description
1               1                            desc1
2               1                            desc2
3               1                            desc3
4               2                            desc4
5               2                            desc5

I want to produce the following result using some sql query, i.e.,
concatenate descriptions in one field based on description id.

description_id             description
1                                 desc1, desc2, desc3
2                                 desc4, desc5

Is there a built-in feature to do this?

Thanks.

.
--CELKO-- - 13 Jul 2005 15:14 GMT
What is the basic rule of a tiered architecture?  You do this kind of
display formatting in the front end and never in the database.  This is
far more fundamental than jsut SQL programming.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.