/**Begin D:\PDM_UPGRADE\PDM1\BOS_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BD_ORGFILTERSCHEME', 'T_BD_ORGFILTERSCHEME', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_BD_ORGFILTER_ENTITY') CREATE INDEX IDX_T_BD_ORGFILTER_ENTITY ON T_BD_ORGFILTERSCHEME ( FENTITYID );



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