pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roy Souther <roy@SiliconTao.com>
To: pgsql-sql@postgresql.org
Subject: How can I simply substatue a value in a query?
Date: Mon, 27 Jun 2005 11:16:58 -0600
Message-ID: <1119892618.7882.4.camel@UtopiaPlanetia> (raw)

I want to do a simple substatution of a value in a query. For example I
have a boolean field that wil return t or f for True and False. I would
like it to return Yes or No. I don't want to have a 2x2 table to look up
the output. I don't want to use stored procedue.

I think there is a better way, somthing very simple but I cannot
remember what it is.

Roy Souther
www.SiliconTao.com
Let Open Source help your business move beyond.

For security this message is digitally authenticated by GnuPG.

Attachments:

  signature.asc (application/pgp-signature, 188B) download

view thread (5+ messages)  latest in thread

Message-ID: <1119892618.7882.4.camel@UtopiaPlanetia>
Permalink:  ../1119892618.7882.4.camel@UtopiaPlanetia/
Also on:    postgresql.org/message-id/1119892618.7882.4.camel@UtopiaPlanetia

 · 

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: roy@SiliconTao.com
  Subject: Re: How can I simply substatue a value in a query?
  In-Reply-To: <1119892618.7882.4.camel@UtopiaPlanetia>

* 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