Re: Thanks for all the help on replacing 'unique' - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: Thanks for all the help on replacing 'unique'
Date
Msg-id ek0tpi$m90$2@sea.gmane.org
Whole thread Raw
In response to Thanks for all the help on replacing 'unique'  ("Wm.A.Stafford" <stafford@marine.rutgers.edu>)
List pgsql-general
On 21.11.2006 15:20 Wm.A.Stafford wrote:
> Distinct is the equivalent
> aggregate function as many pointed out.  A co-worker said that Oracles
> 'unique' is probably an optimized version of distinct that takes
> advantage of some Oracle specific indexing.
I don't think so. They are merely two different keywords for the same
thing. I seen more than one DB using UNIQUE instead of DISTINCT. Quote
from the Oracle manual:

"these two keywords are synonymous"
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_103a.htm#2065648

Thomas

pgsql-general by date:

Previous
From: "Jimmy Zhang"
Date:
Subject: [ANN]VTD-XML 1.8 released
Next
From: Ray Stell
Date:
Subject: Re: list archives