/**Begin C:\anzhuang\PDM_UPGRADE\PDM1\TPO_constraint.sql **/
 EXEC P_ALTERPK 'PK_TPO_RD_PERSON_COST_TYPE', 'T_TPO_RD_PERSON_COST_TYPE', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_TPO_RD_PERSON_COST_TYPE_L', 'T_TPO_RD_PERSON_COST_TYPE_L', 'FPKID', '1';

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



/**End C:\anzhuang\PDM_UPGRADE\PDM1\TPO_constraint.sql **/
