Skip to main content


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

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Applying interaction history scripts in Microsoft SQL Server

Updated on March 11, 2021

Use these scripts with Microsoft SQL Server to archive or purge the interaction history tables on Windows OS. The scripts allow you to move the FACT table records, merge the Dimension records, and delete the records from the FACT table.

Note: The IH scripts contain variables like <source_user_name> or <target_user_name> that you must provide before executing any of the sample scripts.
  1. Back up the source and target interaction history tables.
  2. Create indexes on the columns. Indexes improve performance when you read data from the archived tables.
  3. Modify interaction history records using the sample scripts:
  • Previous topic Deleting the records from the FACT table
  • Next topic Moving the FACT table records in Microsoft SQL Server databases

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