ALTER SCHEMA

Function

ALTER SCHEMA changes the attributes of a schema.

Precautions

Only the owner of an index or a system administrator can run this statement.

Syntax

Parameter Description

Examples

Rename the ds schema to ds_new.

1
ALTER SCHEMA ds RENAME TO ds_new;

Change the owner of ds_new to jack.

1
ALTER SCHEMA ds_new OWNER TO jack;

Helpful Links

CREATE SCHEMA, DROP SCHEMA