How to use list values to update table column in a database?
Welcome, I have a string list populated with some encryption keys. I want to use these keys to decrypt values in a column in a database (the first key in the list decrypts the first column value). How to do that??
Sreekanth ReddyRank #726 · 3.2K reputationPosted Nov 28, 2018, 10:59 PM EST
Mehreen TahirRank #469 · 5.3K reputationPosted Nov 28, 2018, 8:13 PM EST
It would have been great if you had mentioned which database you're using. Anyhow, you can use DecryptByKey (Transact-SQL) function. It can be applied to SQL Server and Azure SQL database.
You can also check the detailed documentation here. Hope that helps.
Samia Souror39 reputationPosted Nov 28, 2018, 8:59 PM EST
Mehreen TahirRank #469 · 5.3K reputationPosted Nov 28, 2018, 9:27 PM EST
https://stackoverflow.com/questions/48423632/encrypt-decrypt-columns-without-changing-existing-functionality
Samia Souror39 reputationPosted Nov 29, 2018, 4:52 AM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts