当前位置:Gxlcms > 数据库问题 > oracle 常用命令

oracle 常用命令

时间:2021-07-01 10:21:17 帮助过:4人阅读

  1. 创建/删除表空间

创建:
create tablespace USERS datafile ‘/oracle/oradata/mytest/tsuser.dbf‘  size 500M autoextend on next 10M maxsize unlimited extent management local;
删除:
DROP TABLESPACE USERS INCLUDING CONTENTS AND DATAFILES;

2. 创建/删除用户

Create User ERIC Identified by Password Default TableSpace USERS; // 这里也可以不指定表空间,可以在后面的时候一起授权
drop user ERIC cascade
Grant Connect,Resource,DBA to ERIC;

3.sqlplus 常用



oracle 常用命令

标签:

人气教程排行