There is a significant amount of useful information available in the Archive Utility and in the output produced by the utility.
Writing queries to report on logged changes
Queries against the log data stored on the SQL Server can be easily grouped and/or sorted by object type (stored procedures, tables, jobs, etc.) and database as well as by datetime using standard T-SQL queries.
A few example stored procedures are installed with the Archive Utility:
- admin.dbo.ArchUtilChangesByDate - produces a complete listing of all changes that have occurred. The most recent changes are at the top of the listing.
- admin.dbo.ArchUtilChangeActionsByDate - produces a count of the number of changes that occurred in SourceSafe by action type where action type is any of "Add", "Change", "Delete". The most recent changes are at the top of the listing.
- admin.dbo.ArchUtilDailyChangeReport - produces an email of all changes that occurred between daily runs of the Archive Utility. (Note that this procedure uses an alternative email process rather than xp_sendmail. It's an easy modification to convert it to SQL Mail and perhaps a wiser though equally easy system change to convert your server to the alternative smtp based email system I use. Please contact me for complete details on the latter option.)