Last active
August 29, 2015 14:06
-
-
Save DylanKnevitt/05de08b23bd5e5265fec to your computer and use it in GitHub Desktop.
Get Column and Table by name
This file contains 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 sys.tables st | |
INNER JOIN sys.columns sc on sc.object_id = st.object_id | |
WHERE | |
sc.name = '' and st.name = '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment