- --ORACLE建表空间用户及赋权
- --建表空间
- CREATE tablespace weijl
- datafile "E:\APP\ADMINISTRATOR\ORACLE\ORCL\weijl.DBF"
- size 10M
- autoextend on next 5M;
- --删除表空间
- drop tablespace weijl including contents and datafiles;
- --建用户
- CREATE USER weijl identified by weijl
- default tablespace weijl
- temporary tablespace temp;
- --赋权
- grand dba,resource,connect to weijl;
- --删除用户
- drop user weijl;
ORACLE导入导出语句:
- exp hytera/hytera@192.168.10.78 file=D:\2017-08-17.dmp
- imp hytera/hytera@192.168.10.200 file=D:\2017-08-17.dmp fromuser=hytera touser=hytera full=y