There isn't such a log per say; however, there is a partial tracking of each object in the system tables.
Unless all of your queries are ran via a user interface, in which case you can add code to log when used the best that can be done is the following:
I can only verify the following for V2010
You should never access the system tables in the production copy of the database, corrupting these tables may make it difficult or impossible to open your file.
BACK-UP! BACK-UP! BACK-UP!
USE AT YOUR OWN RISK
I highly recommend that you use this on a COPY of the database.
Open a new query, switch to SQL view, copy and paste the following into the window. Save the query as "Qry_ShowMeQueries"
- SELECT MSysObjects.Name
-
, MSysObjects.Owner
-
, MSysObjects.DateCreate
-
, MSysObjects.DateUpdate
-
FROM MSysObjects
-
WHERE ((Left([name],1)<>"~")
-
AND ((MSysObjects.Type)=5));
This will now open a list of all of your queries within your database and the headers should be self-evident; however, take note that the field [DateUpdate] is the last date that a change was made to and
SAVED to the query.
--- There's always the B&M method... delete all of the queries that are not used for a form, report, etc... (use Seth's method to find these).
Then wait for the complaints to show up (the B&M).