After upgrading to Strategy 2019, the following error appeared in Enterprise Manager using SQL server database:
DSSError.log
Invalid object name 'STG_IS_REP_SQL_STATS'.
EnterpriseManager_Upgrade.log
ERROR EnterpriseManagerUpgrade:143 - SQL executing error
com.Strategy.enterprisemanager.exceptions.StatementExecutionException: exec sp_rename "STG_IS_REP_SQL_STATS", "STG_IS_REP_SQL_STATS_OLD"
The above errors appears after performing an in-place upgrade when the Microsoft SQL server database is used as the Enterprise Manager warehouse.
The
em_upgrade_sql.sql file, located in .
\Enterprise Manager\Scripts, will automatically be executed by the Strategy Installer Wizard. For more details, see KB483298.
em_upgrade_sql.sqlis interrupted. This is per design to prevent the consequent SQL execution, like the drop table, when any database error is returned.
The Strategy Technology Team is considering a code change to ignore the above caution when executing the sp_rename script.
For users encountering this issue, use the steps below to resolve the error in Enterprise Manager. It's recommended to back up your Enterprise Manager warehouse before proceeding.
em_upgrade_sql.sqlfound in
.\Enterprise Manager\Scripts