Skip to content

Commit

Permalink
ebnf set default role (#17043) (#17148)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot committed Apr 11, 2024
1 parent 0c68f48 commit e61e273
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions sql-statements/sql-statement-set-default-role.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,10 @@ This statement sets a specific role to be applied to a user by default. Thus, th

## Synopsis

**SetDefaultRoleStmt:**

![SetDefaultRoleStmt](/media/sqlgram/SetDefaultRoleStmt.png)

**SetDefaultRoleOpt:**

![SetDefaultRoleOpt](/media/sqlgram/SetDefaultRoleOpt.png)

**RolenameList:**

![RolenameList](/media/sqlgram/RolenameList.png)

**UsernameList:**

![UsernameList](/media/sqlgram/UsernameList.png)
```ebnf+diagram
SetDefaultRoleStmt ::=
"SET" "DEFAULT" "ROLE" ( "NONE" | "ALL" | Rolename ("," Rolename)* ) "TO" Username ("," Username)*
```

## Examples

Expand Down

0 comments on commit e61e273

Please sign in to comment.