Re: Retrieving 'Credit' when 'C' - Mailing list pgsql-sql

From Alvaro Herrera
Subject Re: Retrieving 'Credit' when 'C'
Date
Msg-id 20070215163014.GP4682@alvh.no-ip.org
Whole thread Raw
In response to Retrieving 'Credit' when 'C'  ("Ezequias Rodrigues da Rocha" <ezequias.rocha@gmail.com>)
Responses Re: Retrieving 'Credit' when 'C'
List pgsql-sql
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.


pgsql-sql by date:

Previous
From: "Rodrigo De León"
Date:
Subject: Re: Retrieving 'Credit' when 'C'
Next
From: "Ezequias Rodrigues da Rocha"
Date:
Subject: Re: Retrieving 'Credit' when 'C'