oracle 配置

oracle 
-----创建表空间
create tablespace JTKMS datafile 'E:appxysoradataorclzqdb.dbf' size 50m  autoextend on  next 50m maxsize 512m  extent management local;

-----创建表用户
create user newkm identified by newkm  default tablespace JTKMS temporary tablespace temp quota unlimited on JTKMS;

--删除表空间,如果其他表空间中的表有外键等约束关联到了本表空间中的表的字段,就要加上CASCADE CONSTRAINTS
drop tablespace tablespace_name including contents and datafiles CASCADE CONSTRAINTS;

--删除表用户,说明: 删除了user,只是删除了该user下的schema objects,是不会删除相应的tablespace的。
drop user ue189 cascade
原文地址:https://www.cnblogs.com/jiafeimao-dabai/p/10768021.html