Solved

update data from oracle dmp file

Posted on 2004-08-10
10
1,354 Views
Last Modified: 2008-02-01
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

0
Comment
Question by:onlyamir007
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 33

Expert Comment

by:sajuks
ID: 11760293
@onlyamir007   problems still exists in the old query?
0
 
LVL 33

Expert Comment

by:sajuks
ID: 11760332
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=(*)
0
 
LVL 12

Expert Comment

by:catchmeifuwant
ID: 11760402
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.

0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 11760534
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
0
 
LVL 4

Author Comment

by:onlyamir007
ID: 11760540
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
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 12

Expert Comment

by:catchmeifuwant
ID: 11760571
where is all this discussion going :-(

me lost here !!!
0
 
LVL 4

Author Comment

by:onlyamir007
ID: 11760578
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
0
 
LVL 12

Accepted Solution

by:
catchmeifuwant earned 100 total points
ID: 11760603
If you want to perform synchronisation you can consider Materialized views for the backup server.

You have the flexibility of refreshing the data at your convenience.

Cheers!
0
 
LVL 4

Author Comment

by:onlyamir007
ID: 11760640
is it a software ?

Amir
0
 
LVL 12

Expert Comment

by:catchmeifuwant
ID: 11760689
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: I have seen many questions on EE and elsewhere, asking about how to find either gaps in lists of numbers (id field, usually) ranges of values or dates overlapping date ranges combined date ranges I thought it would be a good …
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now