[Webinar] Learn how to a build a cloud-first strategyRegister Now


copy tables/views inside Oracle 10g

Posted on 2008-11-15
Medium Priority
Last Modified: 2013-12-19
How I can copy tables/view from database to database inside Oracle 10g ?

Source database on server
Target database in client
Question by:interbus
  • 2
  • 2
LVL 27

Accepted Solution

sujith80 earned 1000 total points
ID: 22967956
You can use any of the following methods
1. import/export
2. CREATE TABLE <table name> AS SELECT * FROM <table name>@<db link name>
Here you need to have a db link between your client database and the server database.

LVL 28

Assisted Solution

by:Naveen Kumar
Naveen Kumar earned 1000 total points
ID: 22969751
also you can use sql*plus copy ( NOT a sql command ) command in the target client database as shown below :

sample example for the same is

SQL> copy from scott/tiger@ORCL92 -
     to scott/tiger@ORCL92-
     create new_emp 
     using select * from emp;

See the below links with detailed information on  the same :

also from 10g, you can use expdp/impdp ( export dump/import dump utilities ) which offer a lot of new features when compared to traditional export and import.

Author Comment

ID: 22970045
If I want to copy whole database from source to target
LVL 27

Expert Comment

ID: 22970312
with option full=Y

Author Comment

ID: 23038134
Hello sujith80

This is a command or what ?
with option full=Y

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Suggested Courses

864 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