/**Begin D:\PDM\PDM1\BOS_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BD_WORKCALENDAR_INIT', 'T_BD_WORKCALENDAR_INIT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_BD_WORKCAL_INIT') CREATE INDEX IDX_T_BD_WORKCAL_INIT ON T_BD_WORKCALENDAR_INIT ( FNUMBER );


 EXEC P_ALTERPK 'PK_T_BD_EXCEPTIONDATE', 'T_BD_EXCEPTIONDATE', 'FENTRYID', '1';

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



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