--DROP TABLESPACE WXZD_WMS_USERS INCLUDING CONTENTS AND DATAFILES; create tablespace WXZD_WMS_FIXED_DATA datafile 'E:\oracle\data\WXZD_WMS_fixedData01.dbf' size 10M reuse autoextend on next 1M maxsize UNLIMITED; create tablespace WXZD_WMS_INDX datafile 'E:\oracle\data\WXZD_WMS_indx01.dbf' size 10M reuse autoextend on next 1M maxsize UNLIMITED; create tablespace WXZD_WMS_USERS datafile 'E:\oracle\data\WXZD_WMS_users01.dbf' size 10M reuse autoextend on next 1M maxsize UNLIMITED; commit; / --DROP USER cqqswms CASCADE CREATE USER cqqswms IDENTIFIED BY wms DEFAULT TABLESPACE WXZD_WMS_USERS; GRANT resource to cqqswms; grant unlimited tablespace to cqqswms;--12C导入时报没有表空间使用权限 GRANT connect to cqqswms; GRANT CREATE SESSION to cqqswms; GRANT CREATE TABLE to cqqswms; GRANT CREATE VIEW to cqqswms; GRANT CREATE TRIGGER to cqqswms; GRANT CREATE PROCEDURE to cqqswms; GRANT CREATE SEQUENCE to cqqswms; grant create any synonym to cqqswms; grant create public synonym to cqqswms; grant create database link to cqqswms; grant create public database link to cqqswms; grant create session to cqqswms; / imp cqqswms/wms@orcl file=E:\test\452\db\20150308.dmp full=y