Re: select based on date range - Mailing list pgsql-admin

From Ken Kinder
Subject Re: select based on date range
Date
Msg-id Pine.LNX.3.96.1000814185503.1014A-100000@rage.x13.com
Whole thread Raw
In response to select based on date range  ("Erik B. Flitman" <erikf@syncc.com>)
List pgsql-admin
select * from foo where col > datetime 'date literal' and col < datetime
'date literal'

datetime 'value'

casts the string to a datetime variable. You can also use timespans.

--
Ken Kinder
www.kenkinder.com

On Mon, 14 Aug 2000, Erik B. Flitman wrote:

> Is there a quick way to select based on a date range.  For example I want
> all records that have a date greater than the current date but go out only
> as far as 1 week.
>
> Sync Consulting, LLC
> Erik B. Flitman
> Vice President
>
>


pgsql-admin by date:

Previous
From: "Erik B. Flitman"
Date:
Subject: select based on date range
Next
From: Ken Kinder
Date:
Subject: schema diagram