日期:2014-05-16  浏览次数:20382 次

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

建用户:

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 用户名;