Re: generating date sequences - Mailing list pgsql-sql

From Patrick Scharrenberg
Subject Re: generating date sequences
Date
Msg-id 48FC8DBB.5090304@web.de
Whole thread Raw
In response to Re: generating date sequences  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
List pgsql-sql
Hi!

>> Is there a simple way to generate sequences of dates like the following?
> Sure:
> test=# select '2008-07-03'::date + s * '1day'::interval from
> generate_Series(1,10) s;


Thanks! Thats what I was searching for.

You saved my day from manually adding missing dates in a huge excel sheet!

So thank you again!

P. Scharrenberg


pgsql-sql by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: generating date sequences
Next
From: "Ryan Hansen"
Date:
Subject: Full Text Index Stats