DROP ENCRYPTKEY
Descriptionβ
grammar:
DROP ENCRYPTKEY key_name
Parameter Description:
key_name
: The name of the key to delete, can include the name of the database. For example:db1.my_key
.
Delete a custom key. The name of the key is exactly the same to be deleted.
Executing this command requires the user to have ADMIN
privileges.
Examplesβ
-
Delete a key
DROP ENCRYPTKEY my_key;
Keywordsβ
DROP, ENCRYPT, KEY