Cloud

ALTER STORAGE

The ALTER STORAGE statement modifies the credentials or configuration of an existing storage connection.

Syntax

ALTER STORAGE [IF EXISTS] storage_name
WITH (option = 'value' [, ...]);
  • storage_name: Name of the storage connection to modify.

  • IF EXISTS: Optional. Prevents an error if the storage connection does not exist.

  • option = 'value': One or more options to update. See CREATE STORAGE for the full list of options.

Examples

Update the region for an existing storage connection:

ALTER STORAGE archive_storage
WITH (region = 'eu-west-1');