/ Published in: SQL
Lists when tables, stored procedure, views and functions where last modified. Shows only modified items within the last 14 days.
Expand |
Embed | Plain Text
SELECT name Name, type_desc [Type], modify_date Modified FROM sys.objects WHERE type IN ('P', 'U', 'V', 'FN') AND DATEDIFF(D, modify_date, GETDATE()) < 14 ORDER BY type_desc, modify_date DESC
You need to login to post a comment.
