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