oracle 创建用户_如何创建Oracle新用户

日期: 栏目:游戏攻略 浏览:52 来源:tugaga

Oracle 下如何创建一个用户

create user a identified by b; grant connect,resource to a

oracle数据库中怎么创建用户

create user 用户名 identified by 密码; 海枫科技

oracle怎么创建用户?

--创建用户 create user han identified by han default tablespace users Temporary TABLESPACE Temp; grant connect,resource,dba to han; //授予用户han开发人员的权利

oracle如何创建用户

首先要用有dba权限的用户登录 create temporary tablespace bbsp_temptempfile 'D:\oradata\a_temp.dbf' --创建临时表空间size 100mautoextend on create tablespace bbsp_space --创建表空间loggingdatafile 'D:\oradata\a_space.dbf' size 200m --大小为200Mautoextend on --自动增长 create user bbsp identified by bbsp --创建用户 使用对应的表空间default tablespace bbsp_spacetemporary tablespace bbsp_temp; grant connect,resource,dba to bbsp; --授予连接 、dba权限给用户

Oracle创建用户

1.最简洁的方法:

grant dba to test identified by t;

2.一般情况下都是:

1,create user 用户名

identified by 密码

default tablespace 表空间名

temporary tablespace 临时表空间名;

2,grant 权限 to 用户名;

怎么给oracle数据库创建用户

方法1

1

双击运行PLSQL Developer软件,连接oracle数据库服务器

PLSQL:[3]PLSQL怎么创建oracle数据库用户步骤阅读

PLSQL:[3]PLSQL怎么创建oracle数据库用户

2

在"对象"下,找到users,右击选择"新建"

3

在弹出的"创建用户"窗口中,输入新用户的名称、口令,默认表空间、临时表空间等

4

赋予新用户权限,赋予其角色权限:connect、resource,这样用户才能登录操作数据库

END

方法2

通过sql语句创建用户:依次单击"文件"--"新建"--"SQL窗口"

输入sql语句:

-- Create the user

create user USER2 --用户名 identified by user2--口令 default tablespace USERS --默认表空间 temporary tablespace TEMP--临时表空间

单击执行按钮或按快捷键F8,执行sql语句,创建用户

-- Grant/Revoke role privileges grant connect to USER2;grant resource to USER2;

给用户赋予权限,按F8执行语句

运行plsql,输入新建用户的用户名和口令登录

以上就是孜孜网小编大虾米为大家整理的oracle,创建用户_如何创建Oracle新用户相关主题介绍,如果您觉得小编更新的文章对您有所帮助,不要忘记讲本站分享给您身边的朋友哦!!

Page:

评论留言

我要留言

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。