---
schema_version: "1"
id: b43e9e966ff2fc6a292e4191c0aa587b20bebb2c43d8f07512e0e9e034c166b1
title: ALTER SCHEMA
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-query-guide/references/data-cloud-sql-reference/tableau-sql-commands/alter-schema.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/alter-schema.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c8220732fafd904e0b8d67b4521cd5560a9e1814bbed4a16b5a919bb53132d49
products:
  - Data 360 Query Guide
  - Data 360 Developer Documentation
---
# ALTER SCHEMA

**Applies to:** ❌ Data 360 SQL ✅ Tableau Hyper API

Change properties of a schema.

## Syntax

```sql
ALTER SCHEMA <name> RENAME TO <new_name>
```

## Description

`ALTER SCHEMA` changes the definition of a schema. Currently, Hyper only
supports renaming a schema.

## Parameters

- `<name>`

  - : The name of an existing schema

- `<new_name>`

  - : The new name of the schema. The new name cannot begin with `pg_`, as
    such names are reserved for system schemas.
