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

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


 EXEC P_ALTERPK 'PK_TPO_HIGH_TECH_COSTTYPE_L', 'T_TPO_HIGH_TECH_COSTTYPE_L', 'FPKID', '1';

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



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