Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Switch services using the Version drop-down list. Learn more about navigation.
Applies to: ✅ Azure Data Explorer
Drops a database's pretty (friendly) name.
Permissions
You must have at least Database Admin permissions to run this command.
Syntax
.drop database DatabaseName prettyname
Learn more about syntax conventions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| DatabaseName | string |
✔️ | The name of the database with the pretty name to drop. |
Returns
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. This field is empty once the pretty name is dropped. |
| Status | string |
The status of the operation. |
Example
The following example drops the pretty name of the TestDatabase database.
.drop database TestDatabase prettyname
Output
| DatabaseName | PrettyName | Status |
|---|---|---|
| TestDatabase | Complete |