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

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


 EXEC P_ALTERPK 'PK_SRC_PROJECTMANCHG', 'T_SRC_PROJECTMANCHG', 'FID', '1';

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



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