I am sure this is a pretty common scenario in every developer’s coding journey. So I thought I would write up a little post mainly to remind me different ways of doing this as I always end up searching for it whenever I need this.
Lets say you have a stored procedure that takes input parameters and runs a query based on those parameteres. To keep things simple, I will work with only one parameter in this example. So, here is the basic stored procedure Read the rest of this entry »