prasan.dash83 (9/25/2012)
Hi Guys,I have an MIS system where I have to run 15 queries and update 15 sheets which takes a lot of time as I need to make changes in the dates present in the queries, say 3 date variables in each query which have to be updated to the current date.
I understand that creating dynamic SP can solve my problem but I need some guidance on them.
Can any of you suggest on my problem?
Thanks,
Prasanna
Can you post one of the queries? It would hugely increase your chance of a good solution.
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden