Created
May 24, 2022 13:07
-
-
Save alaawahbah/25b7f8f04bd4d2396b39d483b5050a68 to your computer and use it in GitHub Desktop.
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 | |
sys.columns.name AS ColumnName, | |
tables.name AS TableName | |
FROM | |
sys.columns | |
JOIN sys.tables ON | |
sys.columns.object_id = tables.object_id | |
WHERE | |
sys.tables.name LIKE 'App%' | |
and sys.columns.name not in (N'CreationTime', | |
N'CreatorId', | |
N'LastModificationTime', | |
N'LastModifierId', | |
N'IsDeleted', | |
N'DeleterId', | |
N'DeletionTime') | |
order by TableName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment