sp_getAppLock which Resource are locked?

  • Hello Everyone,

    Is there a way to get information on resource name that are locked using the stored procedure sp_getAppLock?

    The server seem to expose the first 4 characters of the resource locked but encode the remaining with headecimal values (if we look using sp_lock or in syslockinfo).

    We would avoid to try to lock the resource in order to get this information.

    Thank's

    Carl

     

  • Carl,

    On all examples that I have came across the ussage pattern of it is:

    call sp_getapplock

     if failed return -- This is doing the check for you

      ... do your stuff

    call sp_releaseapplock

    hth

     


    * Noel

  • Thanks Noel,

    you seem to confirm that there is no other way to check that.

    Best regards,

    Carl

     

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply