Creates a new database role.
The name of the new role must differ from all existing database roles.
Available in the star$administration database and requires the star$administrator role.
Parameters:
| Name | Optional | Type | Description |
| role$ | Mandatory | Text | The name of the database role to be created. |
Examples:
SELECT create_role('myrole'); -- creates a new role called 'myrole'.
Tips:
- The star$roles view indicates which roles already exist.
Comments
Article is closed for comments.