Experience with SQL2014 to SQL2022 where table column data has been encrypted.

Brian Chandler 0 Reputation points
2025-10-21T09:35:04.7633333+00:00

Have a SQL2014 Express database (instance=COMP) where some columns in a table have been encrypted (using Master Key, Certificate, Symmetric etc).

Have created a SQL2022 database (instance=COMP2022) and Restored into SQL2022 a backup of SQL2014.

Queries that work in SQL2014 which decrypt using (using Master Key, Certificate, Symmetric etc) return no data in SQL2022.

ChatGPT has not been able to help.

I have DROPPED and CREATED keys and certificate, Backed them from SQL2014 and Restored into SQL2022. With no success.

Any suggestions welcomed.

SQL Server Database Engine
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.