home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 19,248 of 19,505   
   Anton Shepelev to All   
   Re: Using sp_getapplock outside a transa   
   25 Nov 17 21:13:02   
   
   From: anton.txt@gmail.com   
      
   rja.carnegie:   
      
   > While  replying,  I noticed that sp_releaseapplock   
   > takes @LockOwner as well.  So perhaps  that  needs   
   > to be set to 'session' there.   
      
   Ah, that's it.   
      
   > In  one  session  you  will be allowed to lock the   
   > same "resource" several times, because it  is  the   
   > same session locking it.   
      
   Then  per-transaction locks are the thing me.  Thank   
   you.   
      
   --   
   Anton Shepelev   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca