pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martín Marqués <martin@bugs.unl.edu.ar>
To: Laurent Patureau <lpatureau@idfr.net>
Cc: pgsql-php@postgresql.org
Subject: Re: SELECT column name
Date: Tue, 10 Jul 2001 05:52:12 -0300
Message-ID: <01071005521201.11667@bugs> (raw)
In-Reply-To: <5.1.0.14.0.20010710164328.00a258e0@172.16.48.1>
References: <5.1.0.14.0.20010710164328.00a258e0@172.16.48.1>

On Mar 10 Jul 2001 11:47, you wrote:
> Hi,
>
> I 'd like to select column name on table for a client Where value for this
> client for columns is yes :
>
> SELECT columns_name WHERE client='$client' AND column.values='oui'

Could this be:

SELECT columns_name WHERE client=CURRENT_USER AND column.values='oui'

Saludos... :-)

-- 
Cualquiera administra un NT.
Ese es el problema, que cualquiera administre.
-----------------------------------------------------------------
Martin Marques                  |        mmarques@unl.edu.ar
Programador, Administrador      |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------



view thread (3+ messages)  latest in thread

Message-ID: <01071005521201.11667@bugs>
Permalink:  ../01071005521201.11667@bugs/
Also on:    postgresql.org/message-id/01071005521201.11667@bugs

 · 

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-php@postgresql.org
  Cc: martin@bugs.unl.edu.ar, lpatureau@idfr.net
  Subject: Re: SELECT column name
  In-Reply-To: <01071005521201.11667@bugs>
  References: <5.1.0.14.0.20010710164328.00a258e0@172.16.48.1> <01071005521201.11667@bugs>

* 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