ALTER DEFAULT SHADOW ALGORITHM

Description

The ALTER DEFAULT SHADOW ALGORITHM syntax is used to alter a default shadow algorithm.

Syntax

Grammar Railroad diagram

  1. AlterDefaultShadowAlgorithm ::=
  2. 'ALTER' 'DEFAULT' 'SHADOW' 'ALGORITHM' shadowAlgorithm
  3. shadowAlgorithm ::=
  4. 'TYPE' '(' 'NAME' '=' shadowAlgorithmType ',' propertiesDefiinition ')'
  5. shadowAlgorithmType ::=
  6. string
  7. propertiesDefinition ::=
  8. 'PROPERTIES' '(' key '=' value (',' key '=' value)* ')'
  9. key ::=
  10. string
  11. value ::=
  12. literal

Supplement

  • shadowAlgorithmType currently supports VALUE_MATCH, REGEX_MATCH and SQL_HINT.

Example

  • Alter default shadow algorithm
  1. ALTER DEFAULT SHADOW ALGORITHM TYPE(NAME="SQL_HINT");

Reserved word

ALTER, DEFAULT, SHADOW, ALGORITHM, TYPE, NAME, PROPERTIES