The next steps volition direct us inward the restoration of an oracle dump file.
- connect equally organisation as well as operate inward your password
sqplus system@xe
- create user
create user TEST_USER identified past times password;
- grant roles
grant CREATE SESSION, ALTER SESSION, CREATE DATABASE LINK, - CREATE MATERIALIZED VIEW, CREATE PROCEDURE, CREATE PUBLIC SYNONYM, - CREATE ROLE, CREATE SEQUENCE, CREATE SYNONYM, CREATE TABLE, - CREATE TRIGGER, CREATE TYPE, CREATE VIEW, UNLIMITED TABLESPACE - to TEST_USER;
- create permanent tabular array space
CREATE TABLESPACE testuser DATAFILE 'testuser.dat' SIZE 20M AUTOEXTEND ON;
- import the dump file
imp system/password@xe file=d:\testuser.dmp fromuser=TEST_USER touser=TEST_USER log=d:\test_user_import.log
The higher upwards steps is amongst the supposition that we've created an oracle database backup using exp tool.
0 komentar:
Please comment if there are any that need to be asked.