1- Copy the attached files check_sd_tables_REPAIR.sql, check_sd_tables_VIEW.sql and check_sd_tables.bat under DSM\bin directory (ex: C:\Program Files (x86)\CA\DSM\Bin) on Domain Manager
2- Open a command prompt with administrator privileges and execute in REPAIR mode:
cd /D "C:\Program Files (x86)\CA\DSM\Bin"
check_sd_tables.bat REPAIR
3- Check the log C:\Program Files (x86)\CA\DSM\log\check_sd_tables.log if it has been executed successfully.
Remarks :
If logged user has not enough right on SQL Server, do this :
Edit file check_sd_tables.bat and put valid SQL credentials in these lines:
SET SQLUSER=
SET SQLPWD=
Example
SET SQLUSER=ca_itrm
SET SQLPWD=NOT_changedR11
Latest version 1.9 (9 June 2023)