Table of Contents

Applying interaction history scripts in Microsoft SQL Server


Only available versions of this content are shown in the dropdown

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.

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:

Related Content

Did you find this content helpful?

Have a question? Get answers now.

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