/**Begin D:\lc_guan\PDM_workspace\PDM_UPGRADE\PDM1\HRCS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HRCS_WARNMSGRCR', 'T_HRCS_WARNMSGRCR', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_WARNMSGRCR') CREATE INDEX IDX_HRCS_WARNMSGRCR ON T_HRCS_WARNMSGRCR ( FNUMBER ,FNAME );


 EXEC P_ALTERPK 'PK_HRCS_WARNMSGRCR_L', 'T_HRCS_WARNMSGRCR_L', 'FPKID', '1';

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



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