安装Oracle9i之后,以system登陆:
SQL> create user chenzixine identified by hust; //回车
用户已创建
SQL> grant connect,resource to chenzixine;
授权成功。
注:chenzixine为用户名,hust为密码。
以上的创建用户过程可以使用户的表中没有了系统自动产生的 n 多临时表。
----------------------------------
CPI:
1 创建用户
create user userName identified by password;
创建用户 userName,密码为 password
2 给用户授权
grant dba to userName; --授予DBA权限
grant unlimited tablespace to userName; --授予不限制的表空间
grant select any table to userName; --授予查询任何表
grant select any dictionary to userName; --授予 查询 任何字典