As the first step of the sp code check to see if this has a value of 0, if so then the sp is ok to run.
Next change the value to 1 to prevent anyone else being able to run the sp
Remember to change the value back to 0 at the end of the sp
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.