Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Moving the FACT table records in Db2 Database Software

Updated on July 5, 2022

Before you perform this task, make sure you have full access to the source and the destination databases (you need the database admin privileges).

  1. Connect to the source database.
  2. Do the following step:
    EXPORT TO "<Filename_withpath>.IXF" OF IXF SELECT * FROM PR_DATA_IH_FACT
  3. Connect to the target database.
  4. Move data.
    • If a table does not exist, execute the following script:

      IMPORT FROM "<Filename_withpath>.IXF" OF IXF CREATE INTO PR_DATA_IH_FACT
    • If a table exists with the exact same columns:

      1. Make sure there are no primary key (PK) constraints on the PXFACTID column in the destination database and do not move any constraints.
      2. Execute the following script:

        IMPORT FROM "<Filename_withpath>.IXF" OF IXF INSERT INTO PR_DATA_IH_FACT
  • Previous topic Applying interaction history scripts in Db2 Database Software
  • Next topic Merging the dimension records in Db2 Database Software

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us