Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 14 Jul 2006 @ 19:02:29 GMT


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


Subj:   Re: Check Lock/Unlock User id
 
From:   Dempsey, Mike

Try looking at DBC.DBase.LockedDate for that user. (Also LockedTime and LockedCount.)

The value will be null if the user is not locked.

You can use the following SQL to display all locked users:

     SELECT DatabaseName, LockedDate
     FROM   dbc.dbase
     WHERE  RowType = 'U'
     AND    LockedDate IS NOT NULL
     ORDER BY 1

Mike Dempsey
Teradata Client Tools



     
  <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