Hey,
Yeah, I've been using DTS at work for a couple projects. Awesome tool. To go a little further into what I want to do:
I need to provide IO statistics and execution plans for my stored procedures to the DBA's. I had posted a while ago about this, but with all the individuals helping me try to find a solution, none of us could come up with an answer (we couldn't do it programmibly via vbscript or
VB at the time, didn't try .NET).
See I'm somewhat lazy (although it is justified; I have 120 procs to provide this information for) but I wanted to find an easier way to do this other than copy/paste the queries in and select run in query analyzer. I thought that maybe Query Analyzer supported VBA or macros, but I wasn't sure, and hence the post.
The only way, so far, to cut down on the time was I created a vbscript to create the statements to copy/paste in (by selecting from the INFORMATION_SCHEMA.ROUTINES view), but I want to take this a step further.
Thanks,
Brian