/**Begin C:\Users\rd_jin_gu\Documents\work\PDM_UPGRADE\PDM1\HRCS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HRCS_PROMPTCONTENTLANG', 'T_HRCS_PROMPTCONTENTLANG', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_PROMPTCONTENTLANG') CREATE INDEX IDX_HRCS_PROMPTCONTENTLANG ON T_HRCS_PROMPTCONTENTLANG ( FPROMPTID );


 EXEC P_ALTERPK 'PK_HRCS_PROMPTCONTENTLANG_L', 'T_HRCS_PROMPTCONTENTLANG_L', 'FPKID', '1';

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



/**End C:\Users\rd_jin_gu\Documents\work\PDM_UPGRADE\PDM1\HRCS_constraint.sql **/
