首页 > 数据库技术 > 详细

oracle exp导出加上过滤条件

时间:2017-08-04 14:16:45      阅读:546      评论:0      收藏:0      [点我收藏+]

exp username/password@dbname   file=‘d:\hehe.dmp‘ tables=(%) query="""where UPDATE_DTIME >= to_date(‘2017-01-01‘,‘yyyy-mm-dd‘)"""

 

 

 

create user DB_USER_NAME identified by DB_USER_PWD
default tablespace ETL;
grant connect,resource to DB_USER_NAME;
grant create any sequence to DB_USER_NAME;
grant create any table to DB_USER_NAME;
grant delete any table to DB_USER_NAME;
grant insert any table to DB_USER_NAME;
grant select any table to DB_USER_NAME;
grant unlimited tablespace to DB_USER_NAME;
grant execute any procedure to DB_USER_NAME;
grant update any table to DB_USER_NAME;
grant create any view to DB_USER_NAME;
grant DBA to DB_USER_NAME;

//表空间
create tablespace XXX
datafile ‘D:/app/DEMOSPACE_TBSPACE.dbf‘
size 1500M
autoextend on next 5M maxsize 2000M;

oracle exp导出加上过滤条件

原文:http://www.cnblogs.com/wdw31210/p/7284769.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!