Import Utility in DB2

The Import utility inserts data from an input file into a table or view.

If the table or view receiving the imported data which contains data in the existing table,you can replace or append the existing data with the data.

 we can import using Insert,Insert_update,Replace and replace_create options.

 The following command gives the data inserted or insert_updated to the existing table.

  db2 "import from data.ixf of ixf insert into <table_name>"

 db2 "import from data.ixf of ixf insert_update into <table_name>







For more detail click here

Comments

Popular posts from this blog

Db2 export command example using file format (del , ixf)

How to fix DB2 Tablespace OFFLINE state issue?

Phases of a load operation