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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_COMMONVARIABLE') CREATE INDEX IDX_HRCS_COMMONVARIABLE ON T_HRCS_COMMONVARIABLE ( FNUMBER );


 EXEC P_ALTERPK 'PK_HRCS_COMMONVARIABLE_L', 'T_HRCS_COMMONVARIABLE_L', 'FPKID', '1';

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



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