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

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


 EXEC P_ALTERPK 'PK_TPO_PROVISION_TAB_L', 'T_TPO_PROVISION_TAB_L', 'FPKID', '1';

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



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