From: Todd Lewis <lewis-todd@sbcglobal.net>
To: enzovenegas@mixmail.com, "pgsql-php@postgresql.org" <pgsql-php@postgresql.org>
Subject: Re: format query
Date: Wed, 09 Mar 2005 07:07:57 -0800
Message-ID: <422EA0CD.3616.7C54045@localhost> (raw)
In-Reply-To: <E1D90DF-0006f0-00@relay.mixmail.com>
use the to_char function to specify the format in your where clause.
>
> 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
>
> I hope somebody can help me.
>
> enzo
> ---------------------------------------------------------
> ¿Quieres saber cómo te ira en el amor? ¿en el trabajo? Nosotros te lo contamos http://astrocentro.mujeractual.com/ya
> ADSL + Llamadas 24 horas: desde 28,95 €/mes + IVA. Navega y habla de forma ilimitada. Sin compromiso de permanencia. http://acceso.ya.com/ADSLllamadas/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
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: lewis-todd@sbcglobal.net
Subject: Re: format query
In-Reply-To: <422EA0CD.3616.7C54045@localhost>
References: <E1D90DF-0006f0-00@relay.mixmail.com> <422EA0CD.3616.7C54045@localhost>
* 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