Last active
August 29, 2015 14:18
-
-
Save jrdmb/f5c993e70b2780ebd9ac to your computer and use it in GitHub Desktop.
T-SQL Schema Queries
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 INFORMATION_SCHEMA.ROUTINES | |
WHERE ROUTINE_TYPE = N'PROCEDURE' and ROUTINE_SCHEMA = N'dbo' | |
and SPECIFIC_NAME like 'usp%' | |
select TABLE_NAME from INFORMATION_SCHEMA.TABLES | |
#tsql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment