Dan Kraemer
Member
Can the beautifier move the "AND" conditions to the left side and also keep one "AND" condition per line? Also, can it ident expresssions in parenthesis instead of just wrapping? See example below. Finally, it looks like hints throw it off as well.
Thanks,
Dan
SELECT /*+ first_rows index( cc aps_pk )*/
COUNT(*)
1,
2,
3
FROM AU_DAILY_SHIFTS aa,
AU_PARTIAL_DAILY_XREFS bb,
AU_ALL_PARTIAL_SHIFTS cc
WHERE bus_day = idt
AND aa.aast1_aast1_id = gc_att_shift_typ
AND aa.aas_id = bb.aas_aas_id
AND cc.aps_id = bb.aps_aps_id
AND ( (1 = 1)
OR (2 = 2)
);
Thanks,
Dan
SELECT /*+ first_rows index( cc aps_pk )*/
COUNT(*)
1,
2,
3
FROM AU_DAILY_SHIFTS aa,
AU_PARTIAL_DAILY_XREFS bb,
AU_ALL_PARTIAL_SHIFTS cc
WHERE bus_day = idt
AND aa.aast1_aast1_id = gc_att_shift_typ
AND aa.aas_id = bb.aas_aas_id
AND cc.aps_id = bb.aps_aps_id
AND ( (1 = 1)
OR (2 = 2)
);