Re: Thanks for all the help on replacing 'unique'

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Thanks for all the help on replacing 'unique'
Date: 2006-11-22 07:21:21
Message-ID: ek0tpi$m90$2@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message garry saddington 2006-11-22 07:57:34 build for none standard socket
Previous Message novnov 2006-11-22 06:15:32 Re: Multiple currencies in a application