1. 備份scott/tiger用戶的表空間 進入控制檯,進入某一個空的目錄。 執行命令:exp 之後會生成一個EXPDAT.DMP 2. 進入dba帳戶 conn sys/sys as sysdba; create user fpc identified by fpc default tablespace users quota 10M on users; grant create session, create table, create view to fpc; 3. 導入之前備份的表空間 進入之前生成EXPDAT.DMP文件的目錄,執行imp,使用新建的user(fpc/fpc)進行登陸。
|