Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Unique and Distinct

Re: Unique and Distinct

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Thu, 09 Dec 1999 11:46:15 -0500
Message-ID: <s4nv4scqjnto88ki5edj32gkj1r7oqp5uo@4ax.com>


A copy of this was sent to Doug Cowles <dcowles_at_nospambigfoot.com> (if that email address didn't require changing) On Thu, 09 Dec 1999 01:16:19 -0500, you wrote:

>Is there effectively any difference between selecting unique and
>distinct?
>Why are we able to do it 2 different ways?
>
>- Dc.

ANSI specified that the two are synonymous.

It is like 'all', why can we:

select all * from emp;

which is the same as:

select * from emp;

--
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'... Current article is "Part I of V, Autonomous Transactions" updated June 21'st  

Thomas Kyte                   tkyte_at_us.oracle.com
Oracle Service Industries     Reston, VA   USA

Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Thu Dec 09 1999 - 10:46:15 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US