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

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


 EXEC P_ALTERPK 'PK_SRC_PACKAGEENTRY', 'T_SRC_PACKAGEENTRY', 'FENTRYID', '1';

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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SRC_PACKAGEENTRY_PID') CREATE INDEX IDX_SRC_PACKAGEENTRY_PID ON T_SRC_PACKAGEENTRY ( FENTRYPARENTID );


 EXEC P_ALTERPK 'PK_SRC_PACKAGEPURLIST', 'T_SRC_PACKAGEPURLIST', 'FPKID', '1';

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



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