SELECT fm_form_mst_b.formula_id formula_id,
LISTAGG (fm_text_tbl.text, '')
WITHIN GROUP (ORDER BY fm_text_tbl.line_no)
reason_for_revision
FROM apps.fm_text_tbl fm_text_tbl, apps.fm_form_mst_b fm_form_mst_b
WHERE (1 = 1)
AND (fm_text_tbl.text_code(+) = fm_form_mst_b.text_code)
AND (fm_text_tbl.paragraph_code(+) = 'RSRV')
AND fm_text_tbl.line_no <> -1
GROUP BY fm_form_mst_b.formula_id;
LISTAGG (fm_text_tbl.text, '')
WITHIN GROUP (ORDER BY fm_text_tbl.line_no)
reason_for_revision
FROM apps.fm_text_tbl fm_text_tbl, apps.fm_form_mst_b fm_form_mst_b
WHERE (1 = 1)
AND (fm_text_tbl.text_code(+) = fm_form_mst_b.text_code)
AND (fm_text_tbl.paragraph_code(+) = 'RSRV')
AND fm_text_tbl.line_no <> -1
GROUP BY fm_form_mst_b.formula_id;
No comments:
Post a Comment