.alter database prettyname command
Applies to: ✅ Azure Data Explorer
Alters a database's pretty (friendly) name.
You must have at least Database Admin permissions to run this command.
.alter
database
DatabaseName prettyname
'
DatabasePrettyName'
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
DatabaseName | string |
✔️ | The name of the database to alter. |
DatabasePrettyName | string |
✔️ | The new pretty name for the database. |
This command returns a table with the following columns:
Output parameter | Type | Description |
---|---|---|
DatabaseName | string |
The name of the database. |
PrettyName | string |
The pretty name of the database. |
Status | string |
The status of the operation. |
The following example changes the TestDatabase
pretty name to NewDatabasename
.
.alter database TestDatabase prettyname 'NewDatabasename'
Output
DatabaseName | PrettyName | Status |
---|---|---|
TestDatabase | NewDatabasename | Complete |