Link to home
Start Free TrialLog in
Avatar of AnilVittal
AnilVittal

asked on

copying table attribute values from one database to different table in different database

What is the syntax to copy a table attribute values from one database to different table in different database. Note that the table names may not be same.
ASKER CERTIFIED SOLUTION
Avatar of tsachi
tsachi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sri_deva
sri_deva

Anil,
The first option given by tsachi is a better one. Just to add to it, you need to create a database link for origDB before executing the above query.

cheers,
Deva.
Or go here to generate a script to recreate a table:
http://www.orafaq.com/scripts/sql/cre8copy.txt

Or

http://www.orafaq.com/scripts/sql/mktable.txt

Cheers!
Mark
Avatar of Helena Marková
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept tsachi's comment as answer..

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Henka
EE Cleanup Volunteer