428d851913
* refactor: generic rename to mysql * refactor: g4 with mysql syntax * test: mysql syntax * refactor: remove useless keywords * refactor: remove nonReserved keywords * refactor: lint specificFunction --------- Co-authored-by: liuyi <liuyi@dtstack.com>
11 lines
285 B
SQL
11 lines
285 B
SQL
-- https://dev.mysql.com/doc/refman/8.0/en/set-default-role.html
|
|
|
|
/* SET DEFAULT ROLE
|
|
{NONE | ALL | role [, role ] ...}
|
|
TO user [, user ] ... */
|
|
|
|
|
|
SET DEFAULT ROLE NONE TO 'user', 'user1';
|
|
SET DEFAULT ROLE ALL TO 'user';
|
|
SET DEFAULT ROLE 'role', 'developer' TO 'user', 'user1'
|