百度智能云

All Product Document

          Data Warehouse

          CREATE-ROLE

          CREATE ROLE

          Description

          This statement is used to create a role.

          CREATE ROLE role1;

          This statement is used to create a role with no grant, grants can be done by GRANT command later. ​

          Example

          1. Create a role

            CREATE ROLE read_role;

          Keywords

          CREATE, ROLE
          Previous
          DROP-ROLE
          Next
          GRANT