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 and property_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).
      1. SQL error: Keyspace Not Found.
      2. ALTER SCHEMA keyspace_example;
      3. ^^^^^^
      1. ALTER KEYSPACE example;
      2. ^^^^^^