Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 01 Jun 2010 @ 09:32:49 GMT

  <Prev Next>  

Subj:   Creating a BTEQ Error Log
From:   GRAHAM, Paul

Hi All

I'm running an insert statement in BTEQ. When this has finished loading I get a message telling me how many rows were successfully loaded and how many failed. Is there some script I can add to this to create an error log outlining which rows failed to load. I searched web and BTEQ manual but I'm unable to work out how to do this. The insert statement is as follows:

     .IMPORT VARTEXT '|' FILE=Drive:\Folder\File.txt; .REPEAT * USING
     Field1 (VARCHAR (8)),
     Field2 (VARCHAR(15))

     INSERT INTO Database.Table

Any help gratefully received.


Paul Graham

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