Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
To enable Transparent Data Encryption (TDE), you must be an administrator or a member of the dbmanager role.
Follow these steps to enable TDE:
- Connect to the master database on the server hosting the database using a login that is an administrator or a member of the dbmanager role in the master database
- Execute the following statement to encrypt the database.
ALTER DATABASE [AdventureWorks] SET ENCRYPTION ON;
Follow these steps to disable TDE:
- Connect to the master database using a login that is an administrator or a member of the dbmanager role in the master database
- Execute the following statement to encrypt the database.
ALTER DATABASE [AdventureWorks] SET ENCRYPTION OFF;
Note
A paused dedicated SQL pool must be resumed before making changes to the TDE settings.
To verify encryption status, follow the steps below:
- Connect to the master or instance database using a login that is an administrator or a member of the dbmanager role in the master database
- Execute the following statement to encrypt the database.
SELECT
[name],
[is_encrypted]
FROM
sys.databases;
A result of 1
indicates an encrypted database, 0
indicates a non-encrypted database.