My client wants with recompile in every stored procedure as a quick fix for parameter sniffing. I advised against this, but nonetheless they want to give it a shot.
Now, the database exists of hundreds and hundreds stored procedures. My question: Can I alter a instance level setting instead of changing every stored proc (whether using macro's or not, to make my life easier)?
I repeat: yes I know I shouldn't do this. But hopefully the performance will drop further and I can make my point.
Edit: I can see some votes to close this question. However, I think it's a fair question to ask. I already stated this is not a smart move, but answers like 'trace flag 4136' are very constructive.