Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 29 Dec 2008 @ 17:29:28 GMT


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


Subj:   Re: How to Get Count(*) in UNIX Variable
 
From:   Ronald Montemayor

Do this instead.

     # Store in shell variables
     COUNT1=`awk '/^COUNT01/ {print $2}' my-bteq-out `
     COUNT2=`awk '/^COUNT02/ {print $2}' my-bteq-out `


     
  <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