문제

I wanted to create a role called "user_updates" and this role should have the rights "table_note_updates". The rights called "table_note_updates" is already available in my database. How to grant the rights to role that i create.

도움이 되었습니까?

해결책

A role can be granted to another role.

create role user_updates;
grant table_note_updates to user_updates;

다른 팁

create role user_updates;
grant table_note_updates to user_updates;

Grant created role to user.

grant user_updates to myuser; 
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 dba.stackexchange
scroll top