Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 10 Mar 2011 @ 13:33:13 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   Duplicates appearing even with UPI
 
From:   Anomy Anom

<-- Anonymously Posted: Thursday, March 10, 2011 07:58 -->

I have a column(decimal(18,0) in table(multiset) with UPI defined.

I am selecting data using sql "sel distinct(id) from table", I am able to see duplicates.

But when I export the data to excel or word pad, Data is fine with out duplicates.

Even with sql assistant, when I use "sel distinct(id as varchar(18)) from table", data is fine

SO why is it behaving mysteriously when I am using simple sel distinct(col) from table

Help would be much appreciated!!!



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016