is_encrypted
- Indicates whether the database is encrypted (reflects the state last set by using the ALTER DATABASE SET ENCRYPTIONclause). Can be one of the following values:
1 = Encrypted
0 = Not Encrypted
If the database
is in the process of being decrypted, is_encrypted shows a value of 0
. You can see the state of the encryption process by using the sys.dm_database_encryption_keys dynamic management view.
encryption_state
- Indicates whether the database is encrypted or not encrypted.
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.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.