Get lock : Lock « Transaction « SQL / MySQL






Get lock

    

DO GET_LOCK('lock1',0);

SELECT GET_LOCK('lock1',0);

   
    
    
    
  








Related examples in the same category

1.Is lock free
2.Is used lock
3.Release lock
4.Locking Syntax