conn sys/sys as sysdba;//先登录到管理员
create user testuser(用户名) identified by testpassword(密码);
conn testuser/testpassword(连接到用户)
conn sys/sys as sysdba连接到DBA
grant unlimited tablespace to testuser(授权无限表空间)
grant create table to testuser(授权创建表)
conn testuser/testpassword;(连接到用户testuser)
create table......可以成功的创建表了
create user testuser(用户名) identified by testpassword(密码);
conn testuser/testpassword(连接到用户)
conn sys/sys as sysdba连接到DBA
grant unlimited tablespace to testuser(授权无限表空间)
grant create table to testuser(授权创建表)
conn testuser/testpassword;(连接到用户testuser)
create table......可以成功的创建表了
本文介绍如何使用 Oracle 数据库的管理员权限为新用户授予无限表空间及创建表的权限,并演示从管理员账户授权到新用户成功创建表的全过程。
355

被折叠的 条评论
为什么被折叠?



