SELECT Specific_Catalo g,
Specific_Name,
Routine_Catalog ,
Routine_Type,
Routine_Definit ion,
Created,
Last_Altered
FROM INFORMATION_SCH EMA.ROUTINES
WHERE Created <> Last_Altered
ORDER BY Last_Altered
How To find tables in a database with modified structure:
select name,create_dat e,modify_date from sys.tables
WHERE create_date <> modify_date
ORDER BY modify_Date
Hi
This is not always correct beacause modify_date:--> Date the object was last modified by using an ALTER statement. If the object is a table or a view, modify_date also changes when a clustered index on the table or view is created or altered.
Saurabh Sinha
Last edited by Rabbit; Jun 8 '15, 09:30 PM.
Reason: Personal link removed per forum policy.
Comment