您的位置:首页 > 数据库 > Oracle

oracle exp导出加上过滤条件

2017-08-04 14:08 239 查看
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;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: