/**Begin D:\PDM_UPGRADE\PDM1\TPO_constraint.sql **/
 EXEC P_ALTERPK 'PK_TPO_COL_MEMBER_ENTRY', 'T_TPO_COL_MEMBER_ENTRY', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_TPO_COL_MEMBER_ENTRY' AND KSQL_INDNAME = 'IDX_TPO_COL_MEMBER_ENTRY_FK') CREATE INDEX IDX_TPO_COL_MEMBER_ENTRY_FK ON T_TPO_COL_MEMBER_ENTRY ( FID );



/**End D:\PDM_UPGRADE\PDM1\TPO_constraint.sql **/