标签:
创建表空间
create tablespace BOSS
tempfile ‘D:/oraclexe/BOSS.dbf‘
size 500M
autoextend on next 50M maxsize 4000M;
删除表空间
drop tablespace BOSS including contents and datafiles
修改字符集
ALTER SYSTEM ENABLE RESTRICTED SESSION;
ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
ALTER SYSTEM SET AQ_TM_PROCESSES=0;
--如果是从子集到父集,需要使用INTERNAL_USE 参数,跳过超子集检测
ALTER DATABASE CHARACTER SET INTERNAL_USE ZHS16GBK;
ALTER DATABASE NATIONAL CHARACTER SET INTERNAL_USE AL16UTF16;
CREATE USER OVTBOSS identified by OVTBOSS;
分配表空间
alter user OVTBOSS default tablespace BOSS;
grant dba to OVTBOSS;
imp ‘sys/manager as sysdba‘ file="20160514_OVTBOSS.dmp" fromuser=OVTBOSS touser=OVTBOSS ignore=y
标签:
原文地址:http://www.cnblogs.com/skyue/p/5571959.html