在對(duì)應(yīng)表右鍵>屬性>權(quán)限
找到指定賬戶
在拒絕那里勾選相應(yīng)權(quán)限
語句:
UPDATE,SELECT,DELETE 多個(gè)權(quán)限用逗號(hào)分開
-----對(duì)用戶member授權(quán),允許其具有對(duì)數(shù)據(jù)表person的更新和刪除的操作權(quán)限:
GRANT UPDATE,DELETE ON person
TO member WITH GRANT OPTION??
--WITH GRANT OPTION表示該用戶可以向其他用戶授予他所擁有的權(quán)限;
-----禁止member用戶對(duì)數(shù)據(jù)表person的更新權(quán)限:
DENY UPDATE ON person?TO member CASCADE;
-----收回用戶member對(duì)person表的刪除權(quán)限:
REVOKE DELETE ON person FROM member