.alter database prettyname.alter database prettyname

更改数据库的友好名称。Alters a database's pretty (friendly) name.

需要 DatabaseAdmin 权限Requires DatabaseAdmin permission.

语法Syntax

.alter database DatabaseName prettyname 'DatabasePrettyName'.alter database DatabaseName prettyname 'DatabasePrettyName'

返回输出Return output

输出参数Output parameter 类型Type 说明Description
DatabaseNameDatabaseName StringString 数据库的名称The name of the database
PrettyNamePrettyName StringString 数据库的友好名称The pretty name of the database