Created
October 28, 2017 11:41
-
-
Save samirbehara-zz/cd417272998637fc5200e7a92a66325e 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
-- Modify your existing masked columns | |
ALTER TABLE dbo.Customer | |
ALTER COLUMN LastName ADD MASKED WITH (FUNCTION = 'partial(2,"X-XXX-X",1)') | |
-- View the unmasked data in Customer table | |
SELECT * FROM dbo.Customer; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment