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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_ESIGNCOMAUTH') CREATE INDEX IDX_HRCS_ESIGNCOMAUTH ON T_HRCS_ESIGNCOMAUTH ( FLAWENTITY );


 EXEC P_ALTERPK 'PK_HRCS_ESIGNCOMAUTH_L', 'T_HRCS_ESIGNCOMAUTH_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_ESIGNCOMAUTH_L') CREATE INDEX IDX_HRCS_ESIGNCOMAUTH_L ON T_HRCS_ESIGNCOMAUTH_L ( FLOCALEID ,FID );



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