pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Griffin <cgriffin@websales.com>
To: pgsql-sql@postgresql.org
Subject: Many booleans
Date: Tue, 30 Nov 1999 19:26:55 -0800
Message-ID: <B469D57F.11A7%cgriffin@websales.com> (raw)


 I am working on a DB that keeps information on potential job candidates.
One of the pieces of information I need to keep is where they are willing to
relocate. The choices are broken down into 5 regions of the US and northern
and southern California. There are also choices for the continents plus US
and world. If the user puts in a search for the US it needs to match any of
the us regions. If they select any region it needs to match any records with
US or world selected. Currently I have separate boolean fields for each
selection. Is there a better way to do this? Thanks.




Message-ID: <B469D57F.11A7%cgriffin@websales.com>
Permalink:  ../B469D57F.11A7%25cgriffin@websales.com/
Also on:    postgresql.org/message-id/B469D57F.11A7%cgriffin@websales.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 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-sql@postgresql.org
  Cc: cgriffin@websales.com
  Subject: Re: Many booleans
  In-Reply-To: <B469D57F.11A7%cgriffin@websales.com>
  References: <B469D57F.11A7%cgriffin@websales.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