首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

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

2012-08-02 
oracle 10g 为新建用户并赋予所有表操作权限的方法建用户:create? user 用户名 identified by 密码 defaul

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

热点排行