Rather than writing 3 stored procedures, I'd like to write a single one with some conditional logic in the WHERE clause. However, what I wrote (based upon bits and pieces of code samples I found) ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results