to lock the particular stored procedure

  • Hi All,

    Is it possible to lock the particular stored procedure/Function in sql server?

  • as in deny everyone from executing it? this is from BOL, DENY statement.

    USE AdventureWorks;

    DENY EXECUTE ON OBJECT::HumanResources.uspUpdateEmployeeHireInfo

    TO Recruiting11;

    GO

    ...and your only reply is slàinte mhath

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

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