Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法列出在过去 1 小时内修改了表或该表的列的所有对象,例如(st 过程、函数等)?
SELECT [name],create_date,modify_date FROM sys.objects WHERE modify_date > DATEADD(HH,-1,GETDATE()) AND type IN ('P','U')