Hey, lets prevent the procedure from being changed in the first place only.
To do that i need to find out who is changing the store procedure and why?.
If we do not have any control over the action which is changing the store procedure then we can another way.
I would like to have a discussion on chat to get more about your project.
I am a .NET Full Stack Web Developer with 4+ years of experience in software design & development of Web Applications.
Experience in .NET, .NET CORE, ASP.NET MVC, ASP.NET WEBAPI, REST API, C#, MS SQL SERVER, Entity Framework, LINQ, Design Patterns, HTML, CSS, Bootstrap, OOPS, Javascript and Jquery.
Good in Angular, SignalR, Vue.JS, Knockout.js and Other JS Frameworks.
Regards
Sushil