Re: BETWEEN bug? - Mailing list pgsql-sql

From Josh Berkus
Subject Re: BETWEEN bug?
Date
Msg-id 200207101457.35614.josh@agliodbs.com
Whole thread Raw
In response to Re: BETWEEN bug?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Responses Re: BETWEEN bug?  (Josh Berkus <josh@agliodbs.com>)
List pgsql-sql
Stephan,

> Spec thing.
>
> In SQL92,
> "X BETWEEN Y AND Z" is equivalent to "X>=Y AND X<=Z".
>
> In SQL99, there's BETWEEN SYMMETRIC and ASYMMETRIC, but ASYMMETRIC is the
> default which is the same as the SQL92 version afaics.  Symmetric is an
> optional feature that I think Christopher's been working on.

Thanks.  Thought it was something like that.

Thank you guys, though, OVERLAPS is asymmetric.

--
-Josh Berkus

______AGLIO DATABASE SOLUTIONS___________________________                                       Josh Berkus  Complete
informationtechnology     josh@agliodbs.com   and data management solutions     (415) 565-7293  for law firms, small
businesses     fax 621-2533   and non-profit organizations.     San Francisco 



pgsql-sql by date:

Previous
From: Ian Barwick
Date:
Subject: Re: Insert Function
Next
From: "David Durst"
Date:
Subject: Returning rows from functions