Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Resource name clarification

Author  Topic 

BruceT
Yak Posting Veteran

78 Posts

Posted - 2012-06-25 : 08:50:00
Hi all,

I have quick question about resource names and sp_getapplock.

I'm trying to get an app lock on a SQL Job that periodically runs a stored procedure and also later test the lock status with APPLOCK_TEST(). Is it true that resource name used by sp_getapplock and APPLOCK_TEST() should be the name given to the SQL Job?

Thanks

BruceT
Yak Posting Veteran

78 Posts

Posted - 2012-06-25 : 09:12:55
Hi all,

Never mind, I found the issue.

Thanks
Go to Top of Page

gangadhara.ms
Aged Yak Warrior

549 Posts

Posted - 2012-06-25 : 12:01:10
Could you please post your finding on this,so that others can know it.


Thanks,
Gangadhara MS
SQL Developer and DBA
Go to Top of Page
   

- Advertisement -