Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- *
- FROM
- vehicle_owner
- WHERE
- company_name LIKE '%FAYAT%';--111549
- SELECT
- *
- FROM
- working_schedule
- WHERE
- vehicle_owner_id = 111549;
- SELECT
- *
- FROM
- working_schedule_day
- WHERE
- working_schedule_id = 120387;
- INSERT INTO working_schedule (
- working_schedule_id,
- vehicle_owner_id,
- name,
- pause_min,
- pause_morning_min,
- pause_night_min,
- min_hr_meal_allowance,
- working_schedule_code,
- working_schedule_type_code,
- is_active,
- order_num,
- lm_name,
- lm_date,
- creation_date,
- working_schedule_type_id,
- erp_nbr_day_per_week
- ) VALUES (
- seq_working_schedule_id.NEXTVAL,
- 111549,
- 'HPR_35',
- 0,
- 0,
- 0,
- 4,
- 'HPR_35',
- 'HPR_35',
- 'Y',
- 1034,
- 'PSI',
- SYSDATE,
- SYSDATE,
- 2,
- 5
- );
- COMMIT;
- INSERT INTO working_schedule_day (working_schedule_day_id,working_schedule_id,day_id,nbr_hr)
- VALUES (seq_working_schedule_day_id.NEXTVAL,120387,1,8);
- INSERT INTO working_schedule_day (working_schedule_day_id,working_schedule_id,day_id,nbr_hr)
- VALUES (seq_working_schedule_day_id.NEXTVAL,120387,2,8);
- INSERT INTO working_schedule_day (working_schedule_day_id,working_schedule_id,day_id,nbr_hr)
- VALUES (seq_working_schedule_day_id.NEXTVAL,120387,3,8);
- INSERT INTO working_schedule_day (working_schedule_day_id,working_schedule_id,day_id,nbr_hr)
- VALUES (seq_working_schedule_day_id.NEXTVAL,120387,4,8);
- INSERT INTO working_schedule_day (working_schedule_day_id,working_schedule_id,day_id,nbr_hr)
- VALUES (seq_working_schedule_day_id.NEXTVAL,120387,5,7);
- INSERT INTO working_schedule_day (working_schedule_day_id,working_schedule_id,day_id,nbr_hr)
- VALUES (seq_working_schedule_day_id.NEXTVAL,120387,6,0);
- INSERT INTO working_schedule_day (working_schedule_day_id,working_schedule_id,day_id,nbr_hr)
- VALUES (seq_working_schedule_day_id.NEXTVAL,120387,7,0);
- UPDATE working_schedule SET contractual_week_hr=3,contractual_month_hr=13,erp_nbr_day_per_week=2,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_01');
- UPDATE working_schedule SET contractual_week_hr=12,contractual_month_hr=52,erp_nbr_day_per_week=3,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_02');
- UPDATE working_schedule SET contractual_week_hr=17.5,contractual_month_hr=75.83,erp_nbr_day_per_week=3,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_03');
- UPDATE working_schedule SET contractual_week_hr=17.5,contractual_month_hr=75.83,erp_nbr_day_per_week=3,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_04');
- UPDATE working_schedule SET contractual_week_hr=20,contractual_month_hr=86.67,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_05');
- UPDATE working_schedule SET contractual_week_hr=21,contractual_month_hr=91,erp_nbr_day_per_week=3,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_06');
- UPDATE working_schedule SET contractual_week_hr=21,contractual_month_hr=91,erp_nbr_day_per_week=3,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_07');
- UPDATE working_schedule SET contractual_week_hr=21,contractual_month_hr=91,erp_nbr_day_per_week=3,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_08');
- UPDATE working_schedule SET contractual_week_hr=21,contractual_month_hr=91,erp_nbr_day_per_week=3,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_09');
- UPDATE working_schedule SET contractual_week_hr=25,contractual_month_hr=108.33,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_10');
- UPDATE working_schedule SET contractual_week_hr=28,contractual_month_hr=121.33,erp_nbr_day_per_week=4,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_11');
- UPDATE working_schedule SET contractual_week_hr=28,contractual_month_hr=121.33,erp_nbr_day_per_week=4,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_12');
- UPDATE working_schedule SET contractual_week_hr=28,contractual_month_hr=121.33,erp_nbr_day_per_week=4,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_13');
- UPDATE working_schedule SET contractual_week_hr=29,contractual_month_hr=125.67,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_14');
- UPDATE working_schedule SET contractual_week_hr=30,contractual_month_hr=130,erp_nbr_day_per_week=4,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_15');
- UPDATE working_schedule SET contractual_week_hr=31,contractual_month_hr=134.33,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_16');
- UPDATE working_schedule SET contractual_week_hr=31,contractual_month_hr=134.33,erp_nbr_day_per_week=4,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_17');
- UPDATE working_schedule SET contractual_week_hr=31,contractual_month_hr=134.33,erp_nbr_day_per_week=4,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_18');
- UPDATE working_schedule SET contractual_week_hr=31.5,contractual_month_hr=136.5,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_19');
- UPDATE working_schedule SET contractual_week_hr=32,contractual_month_hr=138.67,erp_nbr_day_per_week=4,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_20');
- UPDATE working_schedule SET contractual_week_hr=32,contractual_month_hr=138.67,erp_nbr_day_per_week=4,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_21');
- UPDATE working_schedule SET contractual_week_hr=33,contractual_month_hr=142.92,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_22');
- UPDATE working_schedule SET contractual_week_hr=35,contractual_month_hr=151.67,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_23');
- UPDATE working_schedule SET contractual_week_hr=35,contractual_month_hr=151.67,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_24');
- UPDATE working_schedule SET contractual_week_hr=35,contractual_month_hr=151.67,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_25');
- UPDATE working_schedule SET contractual_week_hr=35,contractual_month_hr=151.67,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_26');
- UPDATE working_schedule SET contractual_week_hr=35,contractual_month_hr=151.67,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_27');
- UPDATE working_schedule SET contractual_week_hr=35,contractual_month_hr=151.67,erp_nbr_day_per_week=4,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_28');
- UPDATE working_schedule SET contractual_week_hr=35,contractual_month_hr=151.67,erp_nbr_day_per_week=4,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_29');
- UPDATE working_schedule SET contractual_week_hr=35,contractual_month_hr=151.67,erp_nbr_day_per_week=4,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_30');
- UPDATE working_schedule SET contractual_week_hr=39,contractual_month_hr=169,erp_nbr_day_per_week=4,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_31');
- UPDATE working_schedule SET contractual_week_hr=37,contractual_month_hr=160.33,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_32');
- UPDATE working_schedule SET contractual_week_hr=36,contractual_month_hr=156,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_33');
- UPDATE working_schedule SET contractual_week_hr=36,contractual_month_hr=156,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_34');
- UPDATE working_schedule SET contractual_week_hr=39,contractual_month_hr=169,erp_nbr_day_per_week=5,lm_name='PSI',lm_date=SYSDATE WHERE working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_35');
- // UPDATE mondays
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_01');
- UPDATE working_schedule_day SET nbr_hr=2 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_02');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_03');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_04');
- UPDATE working_schedule_day SET nbr_hr=4 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_05');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_06');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_07');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_08');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_09');
- UPDATE working_schedule_day SET nbr_hr=5 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_10');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_11');
- UPDATE working_schedule_day SET nbr_hr=4 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_12');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_13');
- UPDATE working_schedule_day SET nbr_hr=5.8 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_14');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_15');
- UPDATE working_schedule_day SET nbr_hr=6.25 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_16');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_17');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_18');
- UPDATE working_schedule_day SET nbr_hr=6.5 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_19');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_20');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_21');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_22');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_23');
- UPDATE working_schedule_day SET nbr_hr=4 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_24');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_25');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_26');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_27');
- UPDATE working_schedule_day SET nbr_hr=9 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_28');
- UPDATE working_schedule_day SET nbr_hr=8.75 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_29');
- UPDATE working_schedule_day SET nbr_hr=8.75 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_30');
- UPDATE working_schedule_day SET nbr_hr=10 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_31');
- UPDATE working_schedule_day SET nbr_hr=7.4 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_32');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_33');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_34');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=1 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_35');
- // UPDATE tuesdays
- UPDATE working_schedule_day SET nbr_hr=1.5 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_01');
- UPDATE working_schedule_day SET nbr_hr=2 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_02');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_03');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_04');
- UPDATE working_schedule_day SET nbr_hr=4 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_05');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_06');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_07');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_08');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_09');
- UPDATE working_schedule_day SET nbr_hr=5 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_10');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_11');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_12');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_13');
- UPDATE working_schedule_day SET nbr_hr=5.8 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_14');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_15');
- UPDATE working_schedule_day SET nbr_hr=6.25 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_16');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_17');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_18');
- UPDATE working_schedule_day SET nbr_hr=6.5 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_19');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_20');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_21');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_22');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_23');
- UPDATE working_schedule_day SET nbr_hr=9 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_24');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_25');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_26');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_27');
- UPDATE working_schedule_day SET nbr_hr=9 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_28');
- UPDATE working_schedule_day SET nbr_hr=8.75 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_29');
- UPDATE working_schedule_day SET nbr_hr=8.75 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_30');
- UPDATE working_schedule_day SET nbr_hr=10 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_31');
- UPDATE working_schedule_day SET nbr_hr=7.4 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_32');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_33');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_34');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=2 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_35');
- // UPDATE wednesdays
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_01');
- UPDATE working_schedule_day SET nbr_hr=2 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_02');
- UPDATE working_schedule_day SET nbr_hr=3.5 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_03');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_04');
- UPDATE working_schedule_day SET nbr_hr=4 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_05');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_06');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_07');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_08');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_09');
- UPDATE working_schedule_day SET nbr_hr=5 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_10');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_11');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_12');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_13');
- UPDATE working_schedule_day SET nbr_hr=5.8 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_14');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_15');
- UPDATE working_schedule_day SET nbr_hr=6.25 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_16');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_17');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_18');
- UPDATE working_schedule_day SET nbr_hr=6.5 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_19');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_20');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_21');
- UPDATE working_schedule_day SET nbr_hr=5 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_22');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_23');
- UPDATE working_schedule_day SET nbr_hr=9 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_24');
- UPDATE working_schedule_day SET nbr_hr=3 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_25');
- UPDATE working_schedule_day SET nbr_hr=4 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_26');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_27');
- UPDATE working_schedule_day SET nbr_hr=9 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_28');
- UPDATE working_schedule_day SET nbr_hr=8.75 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_29');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_30');
- UPDATE working_schedule_day SET nbr_hr=10 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_31');
- UPDATE working_schedule_day SET nbr_hr=7.4 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_32');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_33');
- UPDATE working_schedule_day SET nbr_hr=4 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_34');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=3 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_35');
- // UPDATE thursdays
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_01');
- UPDATE working_schedule_day SET nbr_hr=4 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_02');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_03');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_04');
- UPDATE working_schedule_day SET nbr_hr=4 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_05');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_06');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_07');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_08');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_09');
- UPDATE working_schedule_day SET nbr_hr=5 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_10');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_11');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_12');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_13');
- UPDATE working_schedule_day SET nbr_hr=5.8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_14');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_15');
- UPDATE working_schedule_day SET nbr_hr=6.25 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_16');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_17');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_18');
- UPDATE working_schedule_day SET nbr_hr=6.5 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_19');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_20');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_21');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_22');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_23');
- UPDATE working_schedule_day SET nbr_hr=9 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_24');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_25');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_26');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_27');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_28');
- UPDATE working_schedule_day SET nbr_hr=8.75 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_29');
- UPDATE working_schedule_day SET nbr_hr=8.75 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_30');
- UPDATE working_schedule_day SET nbr_hr=9 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_31');
- UPDATE working_schedule_day SET nbr_hr=7.4 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_32');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_33');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_34');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=4 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_35');
- // UPDATE fridays
- UPDATE working_schedule_day SET nbr_hr=1.5 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_01');
- UPDATE working_schedule_day SET nbr_hr=2 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_02');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_03');
- UPDATE working_schedule_day SET nbr_hr=3.5 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_04');
- UPDATE working_schedule_day SET nbr_hr=4 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_05');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_06');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_07');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_08');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_09');
- UPDATE working_schedule_day SET nbr_hr=5 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_10');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_11');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_12');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_13');
- UPDATE working_schedule_day SET nbr_hr=5.8 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_14');
- UPDATE working_schedule_day SET nbr_hr=6 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_15');
- UPDATE working_schedule_day SET nbr_hr=6 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_16');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_17');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_18');
- UPDATE working_schedule_day SET nbr_hr=5.5 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_19');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_20');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_21');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_22');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_23');
- UPDATE working_schedule_day SET nbr_hr=4 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_24');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_25');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_26');
- UPDATE working_schedule_day SET nbr_hr=3 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_27');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_28');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_29');
- UPDATE working_schedule_day SET nbr_hr=8.75 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_30');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_31');
- UPDATE working_schedule_day SET nbr_hr=7.4 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_32');
- UPDATE working_schedule_day SET nbr_hr=4 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_33');
- UPDATE working_schedule_day SET nbr_hr=8 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_34');
- UPDATE working_schedule_day SET nbr_hr=7 WHERE day_id=5 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_35');
- // UPDATE saturdays
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_01');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_02');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_03');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_04');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_05');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_06');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_07');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_08');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_09');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_10');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_11');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_12');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_13');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_14');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_15');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_16');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_17');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_18');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_19');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_20');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_21');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_22');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_23');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_24');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_25');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_26');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_27');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_28');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_29');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_30');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_31');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_32');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_33');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_34');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=6 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_35');
- // UPDATE sundays
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_01');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_02');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_03');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_04');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_05');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_06');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_07');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_08');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_09');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_10');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_11');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_12');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_13');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_14');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_15');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_16');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_17');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_18');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_19');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_20');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_21');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_22');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_23');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_24');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_25');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_26');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_27');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_28');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_29');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_30');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_31');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_32');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_33');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_34');
- UPDATE working_schedule_day SET nbr_hr=0 WHERE day_id=7 AND working_schedule_id=(SELECT working_schedule_id FROM working_schedule WHERE vehicle_owner_id=111549 AND is_active='Y' AND working_schedule_type_code='HPR_35');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement