pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
To: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: Retrieving 'Credit' when 'C'
Date: Thu, 15 Feb 2007 13:44:36 -0300
Message-ID: <55c095e90702150844h3159bfbbx83c71b6910f4a88f@mail.gmail.com> (raw)
In-Reply-To: <20070215163014.GP4682@alvh.no-ip.org>
References: <55c095e90702150817m3e462817qa792dba0e1916885@mail.gmail.com>
	<20070215163014.GP4682@alvh.no-ip.org>

Just a question, where to put it ? I didn't notice yet.

Ezequias

2007/2/15, Alvaro Herrera <alvherre@commandprompt.com>:
>
> Ezequias Rodrigues da Rocha escribió:
> > Hello,
> >
> > Does anyone know how to make a Select that even having a Char(1) with
> the
> > letter C the statement makes the rows appearing 'CREDIT' ?
>
> case when column = 'C' then 'CREDIT' end
>
> --
> Alvaro Herrera
> http://www.CommandPrompt.com/
> The PostgreSQL Company - Command Prompt, Inc.
>



-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                                  Atenciosamente (Sincerely)
                        Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/

view thread (6+ messages)  latest in thread

Message-ID: <55c095e90702150844h3159bfbbx83c71b6910f4a88f@mail.gmail.com>
Permalink:  ../55c095e90702150844h3159bfbbx83c71b6910f4a88f@mail.gmail.com/
Also on:    postgresql.org/message-id/55c095e90702150844h3159bfbbx83c71b6910f4a88f@mail.gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ezequias.rocha@gmail.com
  Subject: Re: Retrieving 'Credit' when 'C'
  In-Reply-To: <55c095e90702150844h3159bfbbx83c71b6910f4a88f@mail.gmail.com>

* 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