In I have gobs of macros in Word, Excel and PowerPoint. I click a button I made, in the Quick Access tool bar, of any of those programs. It then pops up a form or whatever.
So I was wondering if there was a way to click a button on the SSMS tool bar and have it run a script of even a SP or something like this:
This shows the tables and dates, most recent on top. Just as an example of one I use often.
DougP
So I was wondering if there was a way to click a button on the SSMS tool bar and have it run a script of even a SP or something like this:
This shows the tables and dates, most recent on top. Just as an example of one I use often.
Code:
SELECT
[name]
,create_date
,modify_date
FROM
sys.tables
Order by modify_date DESC
DougP