| Archives of the TeradataForumMessage Posted: Wed, 09 Sep 2015 @ 22:57:18 GMT
 
 
  
| 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 
 
 |