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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SRC_DECISIONSUMSUP2_FCID') CREATE INDEX IDX_SRC_DECISIONSUMSUP2_FCID ON T_SRC_DECISIONSUMSUP2 ( FCATEGORYID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SRC_DECISIONSUMSUP2_FPAG') CREATE INDEX IDX_SRC_DECISIONSUMSUP2_FPAG ON T_SRC_DECISIONSUMSUP2 ( FPACKAGEID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SRC_DECISIONSUMSUP2_FPID') CREATE INDEX IDX_SRC_DECISIONSUMSUP2_FPID ON T_SRC_DECISIONSUMSUP2 ( FPARENTID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SRC_DECISIONSUMSUP2_FPRO') CREATE INDEX IDX_SRC_DECISIONSUMSUP2_FPRO ON T_SRC_DECISIONSUMSUP2 ( FPROJECTID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SRC_DECISIONSUMSUP2_FSUP') CREATE INDEX IDX_SRC_DECISIONSUMSUP2_FSUP ON T_SRC_DECISIONSUMSUP2 ( FSUPPLIERID );

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



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