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

What are commit, rollback, and savepoint?

576


How to run sql functions in pl/sql?

547


How do I sort a table in sql?

599


What is meant by cursor in sql?

548


Can we create clustered index without primary key?

525






What is field delimiter?

639


How many types of tables are there?

509


How do temporal tables work?

521


Can a table contain multiple primary key’s?

631


Can a primary key be a foreign key?

580


in oracle 10g sw after compiling procedure how to pass parameter values ,if we (v_empid out number)how to give empid after successful compilation program.This site exact suitable for 10g with respect to question & answer same format , im trying sql browser & sql command prompt using exec procedure name & respective parameters.

1649


Explain locks? : Transact sql

575


What is meant by temporal data?

547


What is t sql used for?

553


What does count (*) mean in sql?

1097