/**Begin C:\PDM_UPGRADE\PDM1\SRC_constraint.sql **/
 EXEC P_ALTERPK 'PK_SRC_RATIOTYPECHG', 'T_SRC_RATIOTYPECHG', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_SRC_RATIOTYPECHGENTRY', 'T_SRC_RATIOTYPECHGENTRY', 'FENTRYID', '1';

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

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



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