问题
I have this situation:
- A table in SQL Server 2016 has Dynamic Data masks configured on one column.
- I read one whole row into a front-end and display the values, including the masked field that returns value 'xxxx'
- To update the table, the application reads the values from the user front-end and generates an UPDATE SQL statement, that includes the 'xxxx' value for the masked field.
- SQL Server 2016 overwrites the existing value of the masked field with the value 'xxxx'.
Is there a way to configure SQL Server 2016 to understand that the value 'xxxx' is the masked value it just sent, and not overwrite the masked data?
来源:https://stackoverflow.com/questions/49179405/update-query-on-field-that-has-dynamic-data-mask