Dynamic Data Masking
- Dynamic Data Masking H2L
- All Products
EXECUTE GetTaskEvents2 'ALFKI',12209 select * from EMPLOYEES; select * from customers where country ='Mexico' DECLARE @ret nvarchar(15); EXEC @ret = dbo.ufnGetInventoryStock @EMPID = 201
Keep Original Number of Rows
| Old Masking Statement Modification
| New Masking Statement Modification
| Masking Action Functionality
|
|---|---|---|---|
N or Y
| EXECUTE GetTaskEvents2 'ALFKI' , 12209 select "EMPLOYEES" . "EMPID" , substring("EMPLOYEES"."EMPNAM E",1,2)+'zzz' "EMPNAME" , "EMPLOYEES" . "SAL" from EMPLOYEES ; select * from customers where country = 'Mexico' DECLARE @ret nvarchar ( 15 ) ; EXEC @ret = dbo . ufnGetInventoryStock @EMPID = 201
| EXECUTE GetTaskEvents2 'ALFKI' , 12209 select "EMPLOYEES" . "EMPID" ,substring("EMPLOYEES"."EMP NAME",1,2)+'zzz' "EMPNAME" , "EMPLOYEES" . "SAL" from EMPLOYEES ; select * from customers where country = 'Mexico' DECLARE @ret nvarchar ( 15 ) ; EXEC @ret = dbo . ufnGetInventoryStock @EMPID = 201
| Transact SQL commands are ignored for masking; however, statements are masked.
|