/**Begin D:\PDM_UPGRADE\PDM1\HRCS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HRCS_ROLEASSIGNSCOPE', 'T_HRCS_ROLEASSIGNSCOPE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_ROLEASSIGNSCOPE') CREATE INDEX IDX_HRCS_ROLEASSIGNSCOPE ON T_HRCS_ROLEASSIGNSCOPE ( FROLEID );


 EXEC P_ALTERPK 'PK_HRCS_ROLEOPENSCOPE', 'T_HRCS_ROLEOPENSCOPE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_ROLEOPENSCOPE') CREATE INDEX IDX_HRCS_ROLEOPENSCOPE ON T_HRCS_ROLEOPENSCOPE ( FROLEID );



/**End D:\PDM_UPGRADE\PDM1\HRCS_constraint.sql **/
