I have stored procedure that I don't want 2 copies of it running at the same time. How do I check if the stored procedure is already running in another instance?
I know that I could setup a table and just put a row in the table when it starts and empty it when I leave.
I want to know if there is a check that I can do on some system table that will tell me the same info.
Thanks in advance for any responses to this post.
I know that I could setup a table and just put a row in the table when it starts and empty it when I leave.
I want to know if there is a check that I can do on some system table that will tell me the same info.
Thanks in advance for any responses to this post.