pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Henry Ortega <juandelacruz@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Given 02-01-2006 to 02-28-2006, output all days.
Date: Fri, 17 Feb 2006 16:07:28 -0500
Message-ID: <2bffcc330602171307i4b0c523eveeb6e3e4ecf1f46f@mail.gmail.com> (raw)

Is there a real quick way to do a query that will show me all the dates
given a startdate and an end date?

Given: 02-01-2006 and 02-28-2006
it should give me:
02-01-2006
02-02-2006
...
...
02-27-2006
02-28-2006

Can this be done by a built-in function perhaps?

view thread (9+ messages)  latest in thread

Message-ID: <2bffcc330602171307i4b0c523eveeb6e3e4ecf1f46f@mail.gmail.com>
Permalink:  ../2bffcc330602171307i4b0c523eveeb6e3e4ecf1f46f@mail.gmail.com/
Also on:    postgresql.org/message-id/2bffcc330602171307i4b0c523eveeb6e3e4ecf1f46f@mail.gmail.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: juandelacruz@gmail.com
  Subject: Re: Given 02-01-2006 to 02-28-2006, output all days.
  In-Reply-To: <2bffcc330602171307i4b0c523eveeb6e3e4ecf1f46f@mail.gmail.com>

* 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