SQLite

RENAME ROLE

Syntax

RENAME ROLE role_name TO new_role_name

Privileges

USERADMIN

Description

The RENAME ROLE command renames an existing role to a new name.

Return

OK string or error value (see SCSP protocol).

Example

> RENAME ROLE old_role TO new_role
OK
Previous
REMOVE ROLE