/**Begin C:\PDM_UPGRADE\PDM1\SRC_constraint.sql **/
 EXEC P_ALTERPK 'PK_SRC_ENTRYSCORER', 'T_SRC_ENTRYSCORER', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SRC_ENTRYSCORER_EID') CREATE INDEX IDX_SRC_ENTRYSCORER_EID ON T_SRC_ENTRYSCORER ( FENTRYID );


 EXEC P_ALTERPK 'PK_SRC_ENTRYNEWSCORER', 'T_SRC_ENTRYNEWSCORER', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SRC_ENTRYNEWSCORER_EID') CREATE INDEX IDX_SRC_ENTRYNEWSCORER_EID ON T_SRC_ENTRYNEWSCORER ( FENTRYID );


 EXEC P_ALTERPK 'PK_SRC_EXTENDPARAM', 'T_SRC_EXTENDPARAM', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SRC_EXTENDPARAM_PARAM') CREATE INDEX IDX_SRC_EXTENDPARAM_PARAM ON T_SRC_EXTENDPARAM ( FPARAMETERID );

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



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