select * from tabela where data between 2008-06-01 and 2008-06-05
(Conjunto fechado)
On Wednesday 11 June 2008 10:36:10 Vinicius Santos - MSI wrote:
> Pessoal, existe alguma maneira de retornar todas as datas de um determinado
> período ?
>
> Por exemplo, select * from "período de 01/06/2008 a 05/06/2008", para
retornar o seguinte:
> |Data|
>
> 01/06/2008
> 02/06/2008
> 03/06/2008
> 04/06/2008
> 05/06/2008
--
Atenciosamente,
Leandro Augusto Kisielewicz
-----------------------------------------------------------------
Linux Ponta Informática - Desenvolvimento
Acesse : www.linuxponta.com
-----------------------------------------------------------------
You can only live once, but if you do it right, once is enough.
It’s not that Unix is unfriendly
it just chooses its friends carefully.
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral