Use SQL to filter the results of a stored procedure
There are no good ways to do that. It is a limitation of stored procedures. Your options are: Switch the procedure to a User Defined Function. All over world, today, people are making stored procedures that should be functions. It’s an education issue. You situation is a good example why. If your procedure were instead … Read more