From: Vincent Veyron <vv.lists@wanadoo.fr>
To: punnoose <punnoose.pj@dwisesolutions.com>
Cc: pgsql-general@postgresql.org
Subject: Re: crosstab
Date: Tue, 04 Sep 2012 20:51:47 +0200
Message-ID: <1346784707.8977.6.camel@asus-1001PX.home> (raw)
In-Reply-To: <1346773199616-5722632.post@n5.nabble.com>
References: <1346773199616-5722632.post@n5.nabble.com>
Le mardi 04 septembre 2012 à 08:39 -0700, punnoose a écrit :
> hi all
> How could i use crostab to display variable number of columns. in the output
> There could be variable number of columns
see the documentation for Additional Supplied Modules, in your case
tablefunc :
http://www.postgresql.org/docs/9.1/static/tablefunc.html
--
Vincent Veyron
http://marica.fr/
Gestion informatique des sinistres d'assurances et des dossiers contentieux pour le service juridique
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-general@postgresql.org
Cc: vv.lists@wanadoo.fr, punnoose.pj@dwisesolutions.com
Subject: Re: crosstab
In-Reply-To: <1346784707.8977.6.camel@asus-1001PX.home>
References: <1346773199616-5722632.post@n5.nabble.com> <1346784707.8977.6.camel@asus-1001PX.home>
* 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