Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 17 Mar 2006 @ 14:15:26 GMT


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


Subj:   Re: Capturing Activity Count insite bteqs
 
From:   Geoffrey Rommel

  How to capture the activity count of the first insert statement in the same bteq?  


Perl could be used for this purpose.

     #!/usr/bin/perl
     use Teradata::SQL qw(:all);
     $dbh = Teradata::SQL::connect(...);
     $dbh->execute("insert ...");
     # Now $activcount contains the number of rows inserted.


     
  <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