日期:2014-05-16  浏览次数:20369 次

oracle 10g将数据导入到指定表空间的步骤
--创建临时表空间    
create temporary tablespace  yhtemp       
tempfile 'D:\oracle\oradata\Oracle10g\yhtemp.dbf'         
size 50m         
autoextend on         
next 50m maxsize 20480m         
extent management local;    
  
--创建数据表空间         
create tablespace yh         
logging         
datafile 'D:\oracle\oradata\Oracle10g\yh.dbf'         
size 50m         
autoextend on         
next 50m maxsize 20480m         
extent management local;         
        
--创建用户并指定表空间         
create user yh identified by password         
default tablespace yh         
temporary tablespace yhtemp;         
        
--给用户授予权限           
grant connect,resource,dba to yh;    
  
--撤销此权限   
revoke unlimited tablespace from yh   
  
--将用户在yss,test1表空间的配额置为0   
 
alter user simply quota 0 on system;//将用户在System表空间的配额置为0

  
--设置在用户在yh表空间配额不受限   
alter user yh quota unlimited on yh  
转载至别的博客,本人以此步骤导入成功