| ▲ | cogman10 an hour ago | |
I agree with what you are saying, this is exactly what I was thinking when I said it was sometimes necessary. It's just not preferable IMO. For this specific example, the better way is something like this
But I get how this would be untenable if as the number of query param combos goes up. In that case dynamic SQL really is the only sane way to handle something like that. | ||