C/C++教程

Oracle创建用户

本文主要是介绍Oracle创建用户,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

一、使用DBA用户登录

二、打开command代码窗口

三、创建用户

create user username identified by "password"
      username	#用户名
      “password”	#用户密码
      [default tablespace ts_name]	#分配永久表空间
      [temporary tablespace tempname/tempgroupname]	#指定用户的临时表空间为tempname / 当存在临时表空间组的时候,指定用户的临时表空间组为tempgroupname。
      [quota n size/unlimited on ts_name]	#指定表空间最大值为n / 表空间使用不受限制
      [profile DEFAULT/profilename]	#使用默认概要文件 / 指定用户的概要文件
      [account lock/unlock]	#用户锁定状态 / 用户解锁状态
      [password expire];	#设置用户密码为过期状态
这篇关于Oracle创建用户的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!