Created
April 30, 2010 22:49
-
-
Save ecavazos/385855 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| select * from | |
| ( | |
| select [name],create_date,modify_date, 'sp' as ObjType from sys.procedures | |
| union all | |
| select [name],create_date,modify_date, 'table' as ObjType from sys.tables | |
| union all | |
| select [name],create_date,modify_date, 'view' as ObjType from sys.views | |
| ) sub | |
| order by modify_date desc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment