Unix Technical Forum

Difference between Distinct and Unique

This is a discussion on Difference between Distinct and Unique within the Oracle Miscellaneous forums, part of the Oracle Database category; --> Hi Experts!!! I can't tell the dfference between Distinct and Unique. Does anyone know? Thanks, Peiyi...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 10:27 AM
PW
 
Posts: n/a
Default Difference between Distinct and Unique

Hi Experts!!!
I can't tell the dfference between Distinct and Unique.
Does anyone know?

Thanks,
Peiyi

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 10:27 AM
Mark C. Stock
 
Posts: n/a
Default Re: Difference between Distinct and Unique


"PW" <wupeiyi2@hotmail.com> wrote in message
news:1147434692.734264.136890@d71g2000cwd.googlegr oups.com...
: Hi Experts!!!
: I can't tell the dfference between Distinct and Unique.
: Does anyone know?
:
: Thanks,
: Peiyi
:

in what context?

++ mcs


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 10:27 AM
Mark D Powell
 
Posts: n/a
Default Re: Difference between Distinct and Unique

Mark is right what context?

Normally in SQL the keyword DISTINCT is used in a query select list to
eliminage duplicate rows from the result set of the query. While the
term unique is used in relation to unique indexes, unique constraint,
or in describing unique keys. In these three cases there will be no
duplicates for the column values used in the unique constrain and/or
index definition.

HTH -- Mark D Powell --

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-08-2008, 10:27 AM
DA Morgan
 
Posts: n/a
Default Re: Difference between Distinct and Unique

PW wrote:
> Hi Experts!!!
> I can't tell the dfference between Distinct and Unique.
> Does anyone know?
>
> Thanks,
> Peiyi


One starts with the letter "D" the other with "U".
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:22 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com