/**Begin C:\PDM_UPGRADE\PDM1\PBD_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_PBD_BIZPARTNERREPAIR', 'T_PBD_BIZPARTNERREPAIR', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_PBD_BIZPREPAIR_FID') CREATE INDEX IDX_PBD_BIZPREPAIR_FID ON T_PBD_BIZPARTNERREPAIR ( FID );


 EXEC P_ALTERPK 'PK_T_PBD_BIZPARTNERREPAIR_H', 'T_PBD_BIZPARTNERREPAIR_H', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_PBD_BIZREPAIR_NAME') CREATE INDEX IDX_PBD_BIZREPAIR_NAME ON T_PBD_BIZPARTNERREPAIR_H ( FNAME );



/**End C:\PDM_UPGRADE\PDM1\PBD_constraint.sql **/
