`
wsqian
  • 浏览: 40457 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

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  
转载至别的博客,本人以此步骤导入成功





分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics