concatenate and use as field

From: Alain Roger <raf(dot)news(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: concatenate and use as field
Date: 2009-03-29 10:21:33
Message-ID: 75645bbb0903290321t17e4edafm76b0f10300715ac1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

i have a character varying variable and i concatenate with some other
variable, using the '||' operator.
the result of this concatenation should be the name of a column in my table.

however i don't know how to tell that this new concatenated string is a
column name.
how to do it ?
thanks.

--
Alain
-----------------------------------------------------------
Windows XP x64 SP2 / Fedora 10 KDE 4.2
PostgreSQL 8.3.5 / MS SQL server 2005
Apache 2.2.10
PHP 5.2.6
C# 2005-2008

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Eugenio Modesti 2009-03-29 10:26:54 Re: problem with locale :
Previous Message Vibhor Kumar 2009-03-29 09:48:37 Re: problem with locale :