tencent cloud

문서Data Lake Compute

ALTER DATABASE SET DBPROPERTIES

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-08-07 17:11:15

Description

Supported engine: Presto.
Purpose: Add one or more attributes to a database. If an attribute to be added already exists, the existing one will be overwritten.

Standard Statement

ALTER (DATABASE|SCHEMA) database_name SET DBPROPERTIES (property_name=property_value, ...)

Parameter

database_name: Database name.

Example

-- Alters the database to set properties `author`.
ALTER DATABASE product SET DBPROPERTIES ('author' = 'allen');




도움말 및 지원

문제 해결에 도움이 되었나요?

피드백