Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 07 May 2013 @ 12:56:51 GMT


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


Subj:   Re: Find different users current running queries
 
From:   Frydryszak, Marek

     select username, count(*) cnt
       from table ( monitorsession(-1,'*',0) ) a
       where pestate <> 'IDLE'
       group by 1


     
  <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