Dynamic Data Masking
- Dynamic Data Masking 9.9.1
- All Products
Column
| Masking Function
|
---|---|
.*SALARY
| 999
|
.*COMM
| substring(convert(varchar,\(col),0),1,1)
|
.*Last_Name
| substring(\(col),1,2)
|
EXEC Proc_Dept_Emp @manager_id = 25 , @dept_id = 10
SELECT EMPLOYEE_ID, Last_Name,FIRST_NAME,JOB_ID,Job_Title,SALARY,COMM, DEPARTMENT_ID FROM DDM_Proc_Dept_Emp_1381918459930_1
SELECT EMPLOYEE_ID, SUBSTRING(Last_Name,1,2) AS Last_Name, FIRST_NAME,JOB_ID,Job_Title,999 AS SALARY, substring(convert(varchar,COMM,0),1,1) AS COMM, DEPARTMENT_ID FROM DDM_Proc_Dept_Emp_1381918459930_1