From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Markus Bertheau <twanger@bluetwanger.de>
Cc: postgres sql list <pgsql-sql@postgresql.org>
Subject: Re: between syntax
Date: Fri, 16 Nov 2001 08:23:29 -0800 (PST)
Message-ID: <20011116082156.H18816-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <1005910892.1215.2.camel@entwicklung01.cenes.de>
On 16 Nov 2001, Markus Bertheau wrote:
> Good day,
>
> shouldn't
>
> 'between 1 and 7'
>
> return the same results as
>
> 'between 7 and 1'
Don't think so, if I'm reading the spec correct, the conversion is:
6) "X BETWEEN Y AND Z" is equivalent to "X>=Y AND X<=Z".
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: sszabo@megazone23.bigpanda.com, twanger@bluetwanger.de
Subject: Re: between syntax
In-Reply-To: <20011116082156.H18816-100000@megazone23.bigpanda.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