Was this helpful?
ALTER KEYS
Valid in: SQL, ESQL, OpenAPI, ODBC, JDBC, .NET
The ALTER KEYS statement changes the encryption key for data that is already stored in an encrypted database. You can change the table keys for the specified tables.
This statement is valid only when connected to an encrypted database.
[EXEC SQL] ALTER KEYS ON TABLE table_name {, table_name}
ALTER KEYS ON TABLE table_name {, table_name}
Changes the encryption key for the specified tables.
Related Statements
ALTER PASSPHRASE
Last modified date: 01/27/2026