pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Johnny C <juandelacruz@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: append fields for *where...*
Date: Thu, 10 Feb 2005 17:12:50 -0600
Message-ID: <20050210231250.GA4740@wolff.to> (raw)
In-Reply-To: <2bffcc33050210144524608491@mail.gmail.com>
References: <2bffcc33050210144524608491@mail.gmail.com>

On Thu, Feb 10, 2005 at 17:45:11 -0500,
  Johnny C <juandelacruz@gmail.com> wrote:
> 
> How can you make month (append) - 01 - (append) year? and
> pass that as a condition to the field date? Is this possible?

You can EXTRACT the day of the month from the date. If you need this
to use an index, you can create a functional index.



view thread (3+ messages)  latest in thread

Message-ID: <20050210231250.GA4740@wolff.to>
Permalink:  ../20050210231250.GA4740@wolff.to/
Also on:    postgresql.org/message-id/20050210231250.GA4740@wolff.to

 · 

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: bruno@wolff.to, juandelacruz@gmail.com
  Subject: Re: append fields for *where...*
  In-Reply-To: <20050210231250.GA4740@wolff.to>

* 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