Is it possible to create an On-Open event for a query? I have a dB with over 500 queries that I have developed over several years. I'd like to know which queries are not being used so that I can delete them - the dB is getting close to the 2G limitation. I'd like to audit which queries are opened, by whom, and when. I know how to audit when data is changed, but not when queries are opened.
I'd like to do something like: create an On-Open event so that when a query is called the user, the query, and the date/time will be captured in a table.
Any suggestions.
I'd like to do something like: create an On-Open event so that when a query is called the user, the query, and the date/time will be captured in a table.
Any suggestions.
Comment