UPDATE query on field that has dynamic data mask

﹥>﹥吖頭↗ 提交于 2019-12-24 07:16:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!