Home » RDBMS Server » Server Utilities » Append rows to an existing table using exp
Append rows to an existing table using exp [message #72415] Tue, 10 June 2003 10:00 Go to next message
Y Yu
Messages: 2
Registered: May 2003
Junior Member
Can one use import utility to append data to an existing table?
Re: Append rows to an existing table using exp [message #72416 is a reply to message #72415] Tue, 10 June 2003 10:22 Go to previous message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
C:>query dept

Table: dept

    DEPTNO DNAME          LOC
---------- -------------- -------------
        10 ACCOUNTING     NEW YORK
        20 RESEARCH       DALLAS
        30 SALES          CHICAGO
        40 OPERATIONS     BOSTON

4 rows selected.

C:>exp mag/mag tables=(dept)

Export: Release 8.1.6.0.0 - Production on Tue Jun 10 12:03:22 2003

(c) Copyright 1999 Oracle Corporation.  All rights reserved.

Connected to: Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
Export done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set

About to export specified tables via Conventional Path ...
. . exporting table                           DEPT          4 rows exported
Export terminated successfully without warnings.

C:>imp mag/mag fromuser=mag touser=mag ignore=y

Import: Release 8.1.6.0.0 - Production on Tue Jun 10 12:03:37 2003

(c) Copyright 1999 Oracle Corporation.  All rights reserved.

Connected to: Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production

Export file created by EXPORT:V08.01.06 via conventional path
import done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set
. . importing table                         "DEPT"          4 rows imported
Import terminated successfully without warnings.

C:>query  dept

Table: dept

    DEPTNO DNAME          LOC
---------- -------------- -------------
        10 ACCOUNTING     NEW YORK
        20 RESEARCH       DALLAS
        30 SALES          CHICAGO
        40 OPERATIONS     BOSTON
        10 ACCOUNTING     NEW YORK
        20 RESEARCH       DALLAS
        30 SALES          CHICAGO
        40 OPERATIONS     BOSTON

8 rows selected.

C:>

Previous Topic: Import affected storage parameters of tables
Next Topic: ORA-01033/SvrMgrl problems.....
Goto Forum:
  


Current Time: Fri Jun 28 21:54:24 CDT 2024