当前位置:操作系统 > Unix/Linux >>

命令创建、删除表空间,创建、授权用户,导入数据

命令创建、删除表空间,创建、授权用户,导入数据
 
create tablespace zcxm6 datafile 'E:\app\tablespace\hn3.dbf' size 300m autoextend on 
 
next 10m maxsize unlimited;
 
create user name identified by orcl default tablespace zcxm6;
grant connect,resource,dba to name;
 
imp userid=name/password full=y file=F:\datasource\hncq_zcxm6_0315.dmp
 
DROP TABLESPACE tablespacename INCLUDING CONTENTS  AND DATAFILES CASCADE CONSTRAINTS;
drop user username cascade;
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,