Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Mon, 30 Mar 2009 @ 14:23:44 GMT

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

Subj:   Re: Check for Active LOCKS
From:   Geoffrey Rommel

  What we would like to know if there is an active lock on the database/table somewhere (via SQL or command line)  


     lock table aaa.bbb for write nowait;

If the table is locked, you will get error 7423, "Object already lockedand NOWAIT. Transaction Aborted."

  <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