Re: format query - Mailing list pgsql-php

From Todd Lewis
Subject Re: format query
Date
Msg-id 422EA0CD.3616.7C54045@localhost
Whole thread Raw
In response to format query  ("enzo venegas palacios" <enzovenegas@mixmail.com>)
List pgsql-php
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



pgsql-php by date:

Previous
From: Frank Bax
Date:
Subject: Re: format query
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: format query