Created
October 22, 2017 21:03
-
-
Save samirbehara-zz/c964160cd92774a8830617263f194ca2 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
-- View the columns where the Masking function is applied | |
SELECT c.name 'ColumnName', tbl.name 'TableName', | |
c.is_masked 'IsMasked', c.masking_function 'MaskingFunction' | |
FROM sys.masked_columns AS c | |
JOIN sys.tables AS tbl | |
ON c.[object_id] = tbl.[object_id] | |
WHERE is_masked = 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment