/**Begin D:\PDM_UPGRADE\pdm_new\BOS_constraint.sql **/
EXEC P_ALTERPK 'PK_PERM_LOG_DIFF_URDIM', 'T_PERM_LOG_DIFF_URDIM', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_LOGID_URDIM') CREATE INDEX IDX_LOGID_URDIM ON T_PERM_LOG_DIFF_URDIM ( FPERM_LOGID );


EXEC P_ALTERPK 'PK_PERM_LOG_DIFF_UBIZROLE', 'T_PERM_LOG_DIFF_UBIZROLE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_LOGID_DIFFUBIZROLE') CREATE INDEX IDX_LOGID_DIFFUBIZROLE ON T_PERM_LOG_DIFF_UBIZROLE ( FPERM_LOGID );


/**End D:\PDM_UPGRADE\pdm_new\BOS_constraint.sql **/
