论坛首页 入门技术论坛

Oracle初学 -- 创建用户

浏览 3606 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2009-05-09  

1.首先用管理员用户登陆sqlplus:

sqlplus "sysman/安装时设置的密码"

 

2.创建用户

create user userName identified by password;

 
创建用户 userName,密码为 password

3.给用户授权

grant dba to userName; --授予DBA权限
grant unlimited tablespace to userName;--授予不限制的表空间
grant select any table to userName; --授予查询任何表
grant select any dictionary to userName;--授予 查询任何字典

 

论坛首页 入门技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics