Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 14 Dec 2006 @ 21:34:13 GMT


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


Subj:   Re: Question regarding duplicated identity columns
 
From:   Anomy Anom

<-- Anonymously Posted: Thursday, December 14, 2006 16:04 -->

Perhaps Acct_SID is not duplicated, this is just the ODBC limit of 15 decimal digits making the result rows appear the same?

     SELECT CAST(Acct_SID AS CHAR(19)), count(*) FROM acct GROUP BY Acct_SID
     HAVING count(*) > 1;

     Select CAST(ACCT_SID AS CHAR(19)), source_id_1 from Acct where
     source_id_1 IN ('1','2');


     
  <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: 15 Jun 2023