9.7.2.3 CREATE ROLE

Purpose

The CREATE ROLE command creates a role for a user accessing a database server.

Syntax

CREATE ROLE  role_name1 [, role_name2, ...]

Usage Notes

The role name should be unique.

Examples

Example 9-35 shows how to create a role.

Example 9-35 Creating a Role

DBMCLI> CREATE ROLE dbmonitor