From: Frank Bax <fbax@sympatico.ca>
To: pgsql-php@postgresql.org <pgsql-php@postgresql.org>
Subject: Re: format query
Date: Wed, 09 Mar 2005 07:37:40 -0500
Message-ID: <5.2.1.1.0.20050309073647.00aaae00@pop6.sympatico.ca> (raw)
In-Reply-To: <E1D90DF-0006f0-00@relay.mixmail.com>
At 07:22 AM 3/9/05, enzo venegas palacios wrote:
>I am trying to build a query sql that select all rows in my table with a
>spesific month (format timestamp, yyy-mm-dd hh:mm:ss), for example, all of
>january, select * from table where field_date = 01.
>but i don't know the specific query
WHERE date_part('month',field_date) = 01
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-php@postgresql.org
Cc: fbax@sympatico.ca
Subject: Re: format query
In-Reply-To: <5.2.1.1.0.20050309073647.00aaae00@pop6.sympatico.ca>
References: <E1D90DF-0006f0-00@relay.mixmail.com> <5.2.1.1.0.20050309073647.00aaae00@pop6.sympatico.ca>
* 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