How to copy a table in another table with datas?

Answer Posted / selvaraj v

In Oracle 10g :
---------------

Create New Table in another table with same data's:
---------------------------------------------------

copy from coeot1a2/coeot1a2@coeau to scott/tiger@coeau
CREATE s11 using select * from major_list;

Insert data's into another table with same data's:
---------------------------------------------------

copy from coeot1a2/coeot1a2@coeau to scott/tiger@coeau
INSERT s11 using select * from major_list;

Append data's into another table with same data's:
---------------------------------------------------

copy from coeot1a2/coeot1a2@coeau to scott/tiger@coeau
APPEND s11 using select * from major_list;

Replace data's into another table with same data's:
---------------------------------------------------

copy from coeot1a2/coeot1a2@coeau to scott/tiger@coeau
REPLACE s11 using select * from major_list;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba

560


How do I view an execution plan in sql?

529


What is the advantage of index in sql?

541


Why do we need unique key in a table?

527


What is error ora-12154: tns:could not resolve the connect identifier specified?

591






Is primary key always clustered index?

536


What does where 1/2 mean in sql?

534


What are some emotional triggers?

570


What is the difference between clustered and non-clustered index in sql?

523


Is sql a oracle?

527


how many ways we can we find the current date using mysql? : Sql dba

616


What is the difference between delete, truncate and drop command?

552


How many types of index are there?

553


Does sql support programming?

557


how to present a past time in hours, minutes and seconds? : Sql dba

563