onlyamir007
asked on
update data from oracle dmp file
I want update data from oracle dmp file is it possible ?
I have two schema’s but I want update only one schema’s data only from dump file
OS = windows 2000 server
DB = Oracle 9i
amir
I have two schema’s but I want update only one schema’s data only from dump file
OS = windows 2000 server
DB = Oracle 9i
amir
@onlyamir007 problems still exists in the old query?
onlyamir007,
Check this
Example Import of Selected Tables for a Specific User
========================== ========== ========== =======
In this example, using a full database export file, an administrator imports the DEPT and EMP tables into the SCOTT schema.
Command-Line Method
===================
imp system/manager file=dba.dmp fromuser=scott tables=(dept,emp)
Example Import of Tables Exported by Another User
========================== ========== ========== ===
This example illustrates importing the UNIT and MANAGER tables from a file exported by BLAKE into the SCOTT schema.
Command-Line Method
===================
imp system/manager fromuser=blake touser=scott file=blake.dmp tables=(unit,manager)
Example Import of Tables from One User to Another
========================== ========== ========== ===
In this example, a DBA imports all tables belonging to SCOTT into user BLAKE's account.
Command-Line Method
===================
imp system/manager file=scott.dmp fromuser=scott touser=blake tables=(*)
Check this
Example Import of Selected Tables for a Specific User
==========================
In this example, using a full database export file, an administrator imports the DEPT and EMP tables into the SCOTT schema.
Command-Line Method
===================
imp system/manager file=dba.dmp fromuser=scott tables=(dept,emp)
Example Import of Tables Exported by Another User
==========================
This example illustrates importing the UNIT and MANAGER tables from a file exported by BLAKE into the SCOTT schema.
Command-Line Method
===================
imp system/manager fromuser=blake touser=scott file=blake.dmp tables=(unit,manager)
Example Import of Tables from One User to Another
==========================
In this example, a DBA imports all tables belonging to SCOTT into user BLAKE's account.
Command-Line Method
===================
imp system/manager file=scott.dmp fromuser=scott touser=blake tables=(*)
If you are planning to update it with any existing records it's not possible.
However, you can create a new table import into the database the data and on the basis of the imported record and the data already available in the table you can update using queries.
However, you can create a new table import into the database the data and on the basis of the imported record and the data already available in the table you can update using queries.
I agree with above: you need to first IMPort the dump (maybe only the tables you need) to another schema, and perform the updateing between the tables. you cannot access directly the dump.
CHeers
CHeers
ASKER
hi sajuks,
yes that time i though its working but when I check data there was old data
so its mean its not updating records
Amir
yes that time i though its working but when I check data there was old data
so its mean its not updating records
Amir
where is all this discussion going :-(
me lost here !!!
me lost here !!!
ASKER
hi catchmeifuwant,
yes your right i'm doing same thing but i wanted 2 do update data from dump file so u mean its not possible ...:(
what I was doing I have 1 backup server and 1 live server.
I want live server should update some tables data 2 backup server
Daily bases .
U can say I want synchronize live server 2 backup server not full database only few tables.
amir
yes your right i'm doing same thing but i wanted 2 do update data from dump file so u mean its not possible ...:(
what I was doing I have 1 backup server and 1 live server.
I want live server should update some tables data 2 backup server
Daily bases .
U can say I want synchronize live server 2 backup server not full database only few tables.
amir
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
is it a software ?
Amir
Amir
No...it's a snapshot ...
http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96524/c11schem.htm#18094
http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96524/c11schem.htm#18094