Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 13 Sep 2001 @ 23:41:34 GMT


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


Subj:   Re: Number of ACTIVE users
 
From:   Deborah Hunt

That question came up in our area recently and one of our analysts provided this code to show you Multisession jobs that are running (like Fastload or Multiload).

SELECT username, partition, logonsequenceno, count(*)
FROM DBC.SESSIONINFO
WHERE logonsequenceno <> '0'XB and
Partition not in ('DBC/SQL','MONITOR')
Group by username, partition, logonsequenceno
Order by username, partition
Having count(*) >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