Date filter values used as a parameter for stored procedure
I have a question about using date filter values in a procedure. More particularly, I would like to be able to choose some date range from a filter (e.g. 10/20/2018-10/24/2018), and pass that range as a parameter to find how many business days are in that range (I can use a stored procedure to find that), and use this value the procedure returns (3 in this case) for further calculations. Is there a way to achieve this? I hope I explained my problem well. Thank you in advance.