DROP ENCRYPT RULE

Description

The DROP ENCRYPT RULE syntax is used to drop an existing encryption rule.

Syntax

Grammar Railroad diagram

  1. DropEncryptRule ::=
  2. 'DROP' 'ENCRYPT' 'RULE' ifExists? encryptRuleName (',' encryptRuleName)*
  3. ifExists ::=
  4. 'IF' 'EXISTS'
  5. encryptRuleName ::=
  6. identifier

Supplement

  • ifExists clause is used for avoid Encrypt rule not exists error.

Example

  • Drop an encrypt rule
  1. DROP ENCRYPT RULE t_encrypt, t_encrypt_2;
  • Drop encrypt with ifExists clause
  1. DROP ENCRYPT RULE IF EXISTS t_encrypt, t_encrypt_2;

Reserved words

DROP, ENCRYPT, RULE