Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 5123

Encrypting a Column

$
0
0

Hi Guys,

I am trying to encrypt a column in MSSQL Server table and I noticed SQL Server assign unique encryption key even when some rows have a matching value.

For instance,.

Card_Number       Encypted_Column

11223                     XXXXXXXXX

12122                     XXYCVVWX

11223                     XXVZYEIW

However, I want it to be like this;

Card_Number       Encypted_Column

11223                     XXXXXXXXX

12122                     XXYCVVWX

11223                     XXXXXXXXX

such that since row 1 and 3 has the same value, they should have the same encryption key.

Regards,


me


Viewing all articles
Browse latest Browse all 5123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>