drop encryption key

Deletes the database encryption key from the sysencryptkeys table in the master database.

Syntax

drop encryption key key_name

Parameters

Usage

This command fails if the database encryption key you are dropping is still used to encrypt any database.

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

The permission checks for drop encryption key differ, based on your granular permission settings:
Granular permissions enabled SAP ASE creates a new permission called "manage database encryption key." You must have this permission to create a database encryption key.
Granular permissions disabled You must be a user with sso_role, keycustodian_role, or have create encryption key privilege.
Related concepts
Changing a Database Encryption Key
Dropping a Database Encryption Key
Back Up the Database Encryption Key
Full Database Encryption and System Changes
create archive database for Full Database Encryption
dbencryption_status
sp_helpdb
sp_encryption
ddlgen
sybmigrate
Changed System Tables
Related tasks
Creating the Database Encryption Key
Related reference
create encryption key
alter database for Full Database Encryption
create database for Full Database Encryption