SHOW COLUMN STATISTICS CIPHER
- Last Updated: December 24, 2025
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The SHOW COLUMN STATISTICS CIPHER statement retrieves the cipher currently
used for encrypting and decrypting column statistics data, specifically for
Transparent Data Encryption (TDE)-enabled tables that store sample column values.
Syntax
|
When run, this statement displays the cipher currently used to encrypt column
statistics for TDE-enabled tables.
Note:
- You must have DBA privileges to run the
SHOW COLUMN STATISTICS CIPHERstatement. - If the cipher has not been explicitly changed, the command returns the
default cipher, which is
AES_CFB_128. - If the cipher has been changed using the
ALTER DATABASE SET COLUMN STATISTICScommand, theSHOWcommand returns the new cipher. For more information, see ALTER DATABASE SET COLUMN STATISTICS.
Example
In the following example, the
SHOW COLUMN STATISTICS CIPHER command returns
the default encryption cipher used for column statistics when no cipher has been
changed using the ALTER DATABASE command:
|
Output:
|
In the following example, the
SHOW COLUMN STATISTICS CIPHER command
reflects the updated configuration if the cipher has been changed using the
ALTER DATABASE command with the 'AES_CFB_256'
cipher:
|
Output:
Displays the updated cipher:
AES_CFB_256, confirming that the column
statistics have been re-encrypted using the new cipher:
|