/**Begin C:\PDM_UPGRADE\PDM1\SRM_constraint.sql **/
 EXEC P_ALTERPK 'PK_BD_SUPPLIERQUALATTACH', 'T_BD_SUPPLIERQUALATTACH', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_SUPPLIERQUALATTACH') CREATE INDEX IDX_BD_SUPPLIERQUALATTACH ON T_BD_SUPPLIERQUALATTACH ( FBASEDATAID );



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