You've already forked ssms-addin
mirror of
https://github.com/alex-bochkov/ssms-addin.git
synced 2026-06-15 16:57:06 +02:00
Update tde-check-status.sql
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
SELECT CONCAT('USE [', name, ']
|
||||
GO
|
||||
CREATE DATABASE ENCRYPTION KEY WITH ALGORITHM = AES_256 ENCRYPTION BY SERVER CERTIFICATE [TDE];
|
||||
GO
|
||||
ALTER DATABASE [', name, '] SET ENCRYPTION ON;
|
||||
GO
|
||||
')
|
||||
FROM sys.databases;
|
||||
GO
|
||||
-------------------------------------------------------------
|
||||
SELECT
|
||||
DB_NAME(database_id) AS DatabaseName,
|
||||
encryption_state,
|
||||
|
||||
Reference in New Issue
Block a user