Re: Tabulate data incrementally - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Tabulate data incrementally
Date
Msg-id 20070308171600.GS4715@alvh.no-ip.org
Whole thread Raw
In response to Re: Tabulate data incrementally  (Omar Eljumaily <omar2@omnicode.com>)
Responses Re: Tabulate data incrementally  (Omar Eljumaily <omar2@omnicode.com>)
List pgsql-general
Omar Eljumaily wrote:
> Thanks Tom and Richard for the tip on date_trunc.  Is it possible in an
> sql select statement to create an iterator?

Yes, use the generate_series() function.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Rikard Pavelic
Date:
Subject: security permissions for functions
Next
From: Tom Lane
Date:
Subject: Re: security permissions for functions