pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: juerg.rietmann@pup.ch
To: pgsql-sql@postgresql.org
Subject: Still don't know how to build this string ?
Date: Mon, 26 Mar 2001 12:12:54 +0200
Message-ID: <OFB356DA1B.8A1E6DD6-ONC1256A1B.0037F528@pup.ch> (raw)

Hello there

I have still the same problem. Any help would really be appreciated !
Thanks ... jr

Is it possible (and I think it is) to do the following :

I have a table with diameters and types. I need to build a comma separated
string.

typ       diam
01        800
01        840
01        870
01        1120
02        760
02        780
02        800
02        900
03        1200
03        1234
03        1352

select diam from zylinder where typ='01'

should produce the string "800,840,870,1120"



============================================
PFISTER + PARTNER, SYSTEM - ENGINEERING AG
Juerg Rietmann
Grundstrasse 22a
6343 Rotkreuz
Switzerland

phone: +4141 790 4040
fax: +4141 790 2545
mobile: +4179 211 0315
============================================





view thread (9+ messages)  latest in thread

Message-ID: <OFB356DA1B.8A1E6DD6-ONC1256A1B.0037F528@pup.ch>
Permalink:  ../OFB356DA1B.8A1E6DD6-ONC1256A1B.0037F528@pup.ch/
Also on:    postgresql.org/message-id/OFB356DA1B.8A1E6DD6-ONC1256A1B.0037F528@pup.ch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: juerg.rietmann@pup.ch
  Subject: Re: Still don't know how to build this string ?
  In-Reply-To: <OFB356DA1B.8A1E6DD6-ONC1256A1B.0037F528@pup.ch>
  References: <OFB356DA1B.8A1E6DD6-ONC1256A1B.0037F528@pup.ch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox