Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 05 Sep 2013 @ 10:13:38 GMT


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


Subj:   Capturing the error cd and desc
 
From:   Anomy Anom

<-- Anonymously Posted: Thursday, September 05, 2013 02:57 -->

Hi,

Iam running the below SQL in the BTEQ.

     insert into T1
         select
             itm_no,
            div_no,
            itm_desc
     from
     T2

When I try to run the above SQL, Iam getting below error.

     Failed [2801] Duplicate unique primary key error in T2.

Please let me know how to capture the above error code and the description in the table.


Thank you.



     
  <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