ITeye博客

oracle 10g 为新建用户并赋予所有表操作权限的方法

h271665724 · 2011-10-13 16:29 · oracle · 数据库 · Markdown

建用户:

create  user 用户名 identified by 密码 default tablespace 默认表空间 temporary 临时表空间;
赋权限:
grant connect,resource,

create any view,

create any synonym,

create database link,

select any table,

create table,

update any table,

insert any table,

delete any table,

alter any table

 to 用户名;

更多的权限加进去就可以了

 

赋予DBA权限:

grant dba to username;

 

撤销DBA权限:

REVOKE dba,exp-full-database,imp-full-datsabase from 用户名;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。