Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux