Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 09 Sep 2015 @ 22:57:18 GMT


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


Subj:   Re: Reject records from Insert/Select in bteq
 
From:   McCall, Glenn David

Have a look in the DML manual. You will see that the Insert query supports a "logging errors" clause. I have not tried it personally, but it may a good place for you to start.

The syntax looks something like this:

     Insert into blah
     Select blah, blah, blah
     From blah
     LOGGING ERRORS
     ;

There are a few options and you need to create an error table. The manual explains it all.


Glenn Mc



     
  <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