/**Begin C:\PDM_UPGRADE\PDM1\SRC_constraint.sql **/
 EXEC P_ALTERPK 'PK_SRC_EXPORTSUPPLIER', 'T_SRC_EXPORTSUPPLIER', 'FENTRYID', '1';

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


 EXEC P_ALTERPK 'PK_SRC_EXPSCHEMEFIELDS', 'T_SRC_EXPSCHEMEFIELDS', 'FENTRYID', '1';

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


 EXEC P_ALTERPK 'PK_SRC_SUPSCHEMEFIELDS', 'T_SRC_SUPSCHEMEFIELDS', 'FENTRYID', '1';

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



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