ALTER KEYSPACE
This statement is supported for compatibility reasons only, and has no effect internally (no-op statement).
alter_keyspace
keyspace_properties
Grammar
Where
keyspace_name
andproperty_name
are identifiers.property_value
is a literal of either , text, or data type.
- An error is raised if the specified
keyspace_name
does not exist. - An error is raised if the user (used role) has no ALTER permission for this specified keyspace and no ALTER permission for ALL KEYSPACES.
- CQL keyspace properties are supported in the syntax but have no effect internally (where YugabyteDB defaults are used instead).
SQL error: Keyspace Not Found.
ALTER SCHEMA keyspace_example;
^^^^^^
ALTER KEYSPACE example;
^^^^^^