한 DB에서 사용권한을 select 와 insert만 할 수 있게 하는 방법 좀 알려주세요.
예를 들어 A라는 DB에
a라는 유저가 로그인 하고 들어갔을때.
bbb라는 테이블에만 select 와 insert 할 수 있도록...
권한 설정하는 방법이여..
꼭 답변 부탁드립니다.
좀 급합니다.
고수님들 부탁해여~
create role bbb_select_insert
-- 롤생성 (master)
grant select,insert on A..bbb to bbb_select_insert
-- permission지정
grant role bbb_select_insert to a
-- 유저에 권한부여
도움이 되었나모르겠네요
grant select,insert on bbb to a
하셔두 됩니다.....