This is just one way to do something. Upsides include storing all of your SQL code in one place, checking the procs for syntax at creation time, and the ability to set permissions on procs, which usually represent some kind of βactionβ and are well suited to the conceptual security model.
The disadvantages include the massive amount of procs for any medium or larger application, and the whole household that comes with it.
My employer product uses procs for everything, and I must say that with good practice, this is perfectly acceptable.
source share