Oracle数据库表空间用户权限
*–SQL:结构化查询语言(脚本语言)
/
DDL:数据定义语言(create 创建,alter 更改, drop 删除)
DML:数据操作语言(insert 增,delete 删,update 改, select 查)
DCL:数据控制语言 (grant 授予,revoke 回收)
TCL:事务控制语言 (commit 提交 rollback 回滚)
DQL:数据查询语言(order by 排序,group by 分组)
*/
–创建表空间 表空间表:DBA_DATA_FILES
/create tablespace 表空间名
datafile ‘文件地址.dbf’
size 大小
autoextend on next 大小
maxsize unlimited;
/
–删除表空间(不删除数据文件,需要手动删除)
/drop tablespace abc ;/
–删除表空间(删除数据文件)
/drop tablespace 表空间名
including contents and datafiles ;/
–创建用户锁定状态 用户信息表:DBA_USERS
/create user 用户名 identified by 密码 account lock
default tablespace 表空间名;/
–修改用户密码
/alter user 用户名 identified by 密码;/
–解锁用户
/alter user 用户名 account unlock;/<