查詢最後更新的數據庫對象.
SELECT * FROM sys.all_objects
WHERE 1=1
--AND TYPE IN ('p','pc')
AND is_ms_shipped=0
AND TYPE IN ('FN','P','U','V','TR')
AND left([name],3)!='sp_'
ORDER BY modify_date DESC
WHERE 1=1
--AND TYPE IN ('p','pc')
AND is_ms_shipped=0
AND TYPE IN ('FN','P','U','V','TR')
AND left([name],3)!='sp_'
ORDER BY modify_date DESC