Last active
August 30, 2018 11:33
-
-
Save martea/8071e28cc29de9038cf96ca6089554d9 to your computer and use it in GitHub Desktop.
SQL Search for columns ids
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 COLUMN_NAME AS 'ColumnName' | |
,TABLE_NAME AS 'TableName' | |
FROM INFORMATION_SCHEMA.COLUMNS | |
WHERE COLUMN_NAME LIKE '%EntityId%' | |
ORDER BY TableName | |
,ColumnName; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment