pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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".





view thread (4+ messages)  latest in thread

Message-ID: <20011116082156.H18816-100000@megazone23.bigpanda.com>
Permalink:  ../20011116082156.H18816-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20011116082156.H18816-100000@megazone23.bigpanda.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: 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