Checking if date is inside date range

From: Jure Kodzoman <jure(at)plsavez(dot)hr>
To: pgsql-sql(at)postgresql(dot)org
Subject: Checking if date is inside date range
Date: 2006-03-17 13:07:38
Message-ID: 1142600858.5831.5.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hy list,

I would like to check if date is inside a given date range.

For instance if date range is

datestart column: 10/10/2005
dateend column: 10/20/2005

I would like to return columns for date = 10/15/2005 and not if i enter
let's say date = 10/21/2005

thanks for your help,

Jure Kodzoman

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jure Kodzoman 2006-03-17 13:18:33 Re: Checking if date is inside date range
Previous Message Achilleus Mantzios 2006-03-17 10:21:34 Re: R: Re: R: R: Re: schema inspection