创建用户:
create user username identify by password default tablespace tablespacename1 temporary tablespace tablespacename2;删除用户:
drop user username[cascade];
create user username identify by password default tablespace tablespacename1 temporary tablespace tablespacename2;删除用户:
drop user username[cascade];
解决方案 »
- 如何让oracle还原成刚安装完oracle的状态哈?之前不小心复制了一些sql现在oracle出问题了想恢复成刚安装的状态!求大神解答,在线等人气伺候着!!!
- oracle sql groupby后 无记录 怎么使count()=0
- oracle存储过程中如何使用另一个表空间的表
- Oracle如何得到分组统计结果的记录数?
- Oracle中的datalink是怎么回事???那位大师能给我讲讲!!
- management server启动不了
- group by语句
- 32bit的和64bit的有何区别????
- 创建用户时的权限问题该怎样解决
- 将一个表的数据的加入到另一个表实现问题?
- PL/SQL连接数据库问题
- 求一简单问题
create user username identify by password default tablespace tablespacename1 temporary tablespace tablespacename2;在创建后的用户并不能立即进行使用,因为这时它没有任何权限,你要对新建的用户进行相应的授权才可以使用,通常把资源角色以及连接角色赋予新建的用户。grant resource,connect to user_name;删除用户:
drop user username[cascade];
create user zhao
identified by password
default tablespace accounting_tbs
quota 100M/unlimited on accounting_tbs
quota 500k on indx
temporary tablespace temptbs
profile accounting_users授权给用户
grant connect to zhao锁定/解锁用户
alter user zhao account lock/unlock修改用户
alter user zhao
identified by aaaaaa
default tablespace users删除用户
drop user zhao cascade用户信息字典
all_users/dba_users/user_users 数据库用户的信息
dba_ts_quotas/user_ts_quotas 用户的表空间配额信息