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.
<target_user_name>that you must provide before executing any of the sample scripts.
- Back up the source and target interaction history tables.
- Create indexes on the columns. Indexes improve performance when you read data from the archived tables.
- Modify interaction history records using the sample scripts: