Symptom:
The following sql script produces an invalid index when run on a Microsoft SQL database:
IdentityManager/IAM_Suite/IdentityManager/tools/imrexport/db/SqlServer/ims_mssql_report.sql
The script returns with the following warning message:
Solution:
Follow these steps:
CREATE PROCEDURE sp_imruser6_index_3_exists AS BEGIN DECLARE @MAX_LEN integer DECLARE @sql_cmd nvarchar(255) DECLARE @stmt nvarchar(255) SET @MAX_LEN = (SELECT SUM(max_length)AS TotalIndexKeySize FROM sys.columns WHERE name IN (N'imr_userdn', N'imr_reportid') AND object_id = OBJECT_ID(N'imruser6')) IF EXISTS (SELECT name FROM sysindexes WHERE name = 'imruser6_index_3') DROP INDEX imruser6_index_3 on imruser6 IF (@MAX_LEN > 900) CREATE INDEX imruser6_index_3 ON imruser6 (imr_reportid) INCLUDE(imr_userdn) ELSE CREATE INDEX imruser6_index_3 ON imruser6 (imr_reportid, imr_userdn) END GO
Stored procedure is now created.
EXEC sp_imruser6_index_3_exists
After successfully executing the stored procedure, the column imr_userdn under imruser6_index_3 becomes as included column.
Symptom:
When a user clicks the help icon while performing mobile app tasks, unrelated help displays.
Solution:
Browse for mobile app help in the table of contents or by searching the help.
Copyright © 2013 CA.
All rights reserved.
|
|