/**Begin D:\PDM_UPGRADE\PDM1\BOS_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BD_NEWMODE_BLACKLIST', 'T_BD_NEWMODE_BLACKLIST', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_NEWMODE_BLACKLIST_BASEDATA') CREATE INDEX IDX_NEWMODE_BLACKLIST_BASEDATA ON T_BD_NEWMODE_BLACKLIST ( FBASEDATAID );

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