oracle exp imp import backup and create a table space, users, assign user rights

备份 exp scott/123456@orcl file=E:/tables.dmp tables=(T_EQUILIST, T_IRREAD, T_MEASBOX, T_METER, T_MP_SCHEME, T_ORDER, T_POWER_SCHEME, T_SP_SCHEME, T_TMNL)

创建表空间 create tablespace yjkj_ydzy_data logging datafile 'D:\app\joyny\oradata\yjkj_ydzy_data.dbf' size 1024m autoextend on next 200m maxsize unlimited;

创建用户 create user ydzy identified by 123456 default tablespace yjkj_ydzy_data;

Grant privileges to users Grant Connect, Resource to ydzy;

Import the backup data file ydzy IMP / 123456  File = E: / ydzy_tables.dmp log = E: / YYYYMMDD. Log  Full = Y the ignore = Y

 

Guess you like

Origin www.cnblogs.com/joyny/p/12508738.html