/**Begin D:\PDM_UPGRADE\PDM1\FCS_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_FCS_SCHEDULEFILTERCONF', 'T_FCS_SCHEDULEFILTERCONF', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_FCS_SCHEDULEFILTERCONF') CREATE INDEX IDX_T_FCS_SCHEDULEFILTERCONF ON T_FCS_SCHEDULEFILTERCONF ( FBIZAPPID );


 EXEC P_ALTERPK 'PK_T_FCS_SCHEDULEFILTERCONF_L', 'T_FCS_SCHEDULEFILTERCONF_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_FCS_SCHEDULEFILTERCONF_L') CREATE INDEX IDX_T_FCS_SCHEDULEFILTERCONF_L ON T_FCS_SCHEDULEFILTERCONF_L ( FID ,FLOCALEID );



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