Create views or materialized views for Interact
You can use SQL scripts to create views or materialized views for Interact. Reports uses views or materialized views to extract reportable data.
Before you create views or materialized views for Interact, verify that the language setting for the computer from where you run the lookup_create SQL script is enabled for UTF-8 encoding. Refer to the following table as a guideline to change the language setting to UTF-8:
3.
Navigate to HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE and open the folder for your Oracle Home, for example, KEY_OraDb10g_home1.
DB2®
1.
From the computer that is running the script and has the DB2® client installed, run a DB2® command window. Then run the following command:
3.
If the DB2CODEPAGE=1208 variable is not set, run the following command:
1.
2.
3.
When you run a script that creates materialized views on a DB2® database, your database might display the following error:
"SQL20059W The materialized query table-name may not be used to optimize the processing of queries."
However, the materialized view is successfully created.
4.
Locate the tools subdirectory in the reports package installation directory and find the lookup_create script for your database type.
For example, the script for SQL is named uari_lookup_create_MSSQL.sql.
5.
Run the lookup_create script on the Interact design time database. Ensure that the database tool you are using commits the changes. For example, you might need to set the auto-commit option of the database to true.
Setting up data synchronization
Make sure that you use scheduled Extraction, Transformation, and Load (ETL) method, or any custom method to schedule regular data synchronization between the production databases of the IBM® EMM application and the new reporting tables.