-- 0 = No database encryption key present, no encryption -- 1 = Unencrypted -- 2 = Encryption in progress -- 3 = Encrypted -- 4 = Key change in progress -- 5 = Decryption in progress -- 6 = Protection change in progress (The certificate or asymmetric key that is encrypting the database encryption key is being changed.) Use master GO SELECT DB_NAME(database_id) AS DatabaseName, encryption_state, encryption_state_desc = CASE encryption_state WHEN '0' THEN 'No database encryption key present, no encryption' WHEN '1' THEN 'Unencrypted' WHEN '2' THEN 'Encryption in progress' WHEN '3' THEN 'Encrypted' WHEN '4' THEN 'Key change in progress' WHEN '5' THEN 'Decryption in progress' WHEN '6' THEN 'Protection change in progress (The certificate or asymmetric key that is encrypting the database encryption key is being changed.)' ELSE 'No Status' END, percent_complete,encryptor_thumbprint, sys.certificates.name , encryptor_type, key_algorithm AS Algorithm, key_length AS KeyLength FROM sys.dm_database_encryption_keys INNER JOIN sys.certificates ON sys.dm_database_encryption_keys.encryptor_thumbprint = sys.certificates.thumbprint