Files
doris/docs/zh-CN/sql-manual/sql-reference/Account-Management-Statements/CREATE-ROLE.md
Mingyu Chen 74a482ca7f [fix] fix docs build bug (#9293)
After this PR #9272, the `docs/build_help_zip.sh` will run failed.
This PR fix this issue.
But the help module still has some parse problem, I will fix it in next PR.

This CL mainly changes:
1. fix `docs/build_help_zip.sh` error
2. remove `sql-reference-v2` to `sql-reference`
3. modify build extension github action to run `docs/build_help_zip.sh`
2022-04-28 22:19:04 +08:00

1.2 KiB

title, language
title language
CREATE-ROLE zh-CN

CREATE ROLE

Name

CREATE ROLE

Description

该语句用户创建一个角色

 CREATE ROLE rol_name;

该语句创建一个无权限的角色,可以后续通过 GRANT 命令赋予该角色权限。

Example

  1. 创建一个角色

    CREATE ROLE role1;
    

Keywords

CREATE, ROLE

Best Practice