When an application calls sp_getapplock multiple times for the same lock resource, sp_releaseapplock must be called the same number of times to release the lock.
英
美
- 如果某个应用程序为同一锁资源多次调用sp_getapplock,则必须调用sp_releaseapplock同样次数才能释放锁。