Re: SELECT column name

From: Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: Laurent Patureau <lpatureau(at)idfr(dot)net>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: SELECT column name
Date: 2001-07-10 08:52:12
Message-ID: 01071005521201.11667@bugs
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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(at)unl(dot)edu(dot)ar
Programador, Administrador | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Laurent Patureau 2001-07-10 14:47:08 SELECT column name
Previous Message Phil Davey 2001-07-06 16:03:08 Re: Making things 'tamper proof'