oracle导入数据库

create tablespace bb2c
LOGGING DATAFILE
'D:\InstallFile\oracle\product\10.2.0\oradata\orcl\bb2c.dbf' size 500M
AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
EXTENT MANAGEMENT LOCAL
/


create user bb2c identified by bb2c default tablespace bb2c temporary tablespace temp;

grant dba to bb2c;

imp bb2c/bb2c@orcl fromuser=bb2c touser=bb2c file=e:/data.dmp

exp bb2c/bb2c@orcl owner=bb2c file=e:bb2c.dmp log=templog.log

你可能感兴趣的:(oracle)