Remove Database Encryption Key on all user databases

Below script will remove database encryption key, database certificate and master key on all the user databases.

For tempdb database, you need to restart the SQL Server Instance to complete the process.

Note: It is advisable to take transaction log backup before this activity is performed.

4 (1)

2018-02-08 (first published: )

829 reads

Blogs

Daily Coping 18 Sep 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Optimize for Unknown for Inline Table-Valued Functions

By

I had a curious performance issue today. An inline table-valued function (iTVF) was performing...

Daily Coping 17 Sep 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Read the latest Blogs

Forums

SQL 2017 MLS - cant add new python packages

By sqldude7777

Hi I'm new-ish to MLS and have been trying to add new python packages...

Find row closest to date

By boehnc

Just having trouble getting this to work as I hoped. Trying to extract entire...

SQL Query - FULL JOIN multiple tables but return NULL results

By glennyboy

Good day! Need help with my sql query code; first FULL JOIN "ILEtransfer" no...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers