When creating business views you can see the DQL and SQL created for what tables/columns you are including. You are able to manually add to the DQL freehand if you want. However, there does not appear to be anyway to manually add to the SQL.
I have a SQL query I found elsewhere on the board which I am trying to replicate in Business Views. I can't get it to work as the DQL throws an error from the last 3 lines.
Does anyone know a way to work round this in Business Views or should I just stick to Excel Reports?
SELECT REQ.RQ_USER_03 as "Req ID", REQ_TYPE.TPR_NAME as "Requirement Type", REQ.RQ_USER_05 as "Category", REQ.RQ_REQ_COMMENT as "Requirement Description", REQ.RQ_USER_01 as "Business Priority", REQ.RQ_USER_04 as "Business Area", REQ.RQ_USER_02 as "Business Owner", REQ.RQ_USER_12 as "Date Raised", REQ.RQ_USER_05 as "Category", REQ.RQ_DEV_COMMENTS as "Notes", REQ.RQ_USER_15 as "Baseline Requirement", REQ.RQ_USER_06 as "Delivery Scope", REQ.RQ_USER_13 as "Change Request", REQ.RQ_USER_16 as "CR Project Phase", REQ.RQ_USER_17 as "Design Specification" FROM REQ, REQ_TYPE WHERE REQ.RQ_TYPE_ID = REQ_TYPE.TPR_TYPE_ID AND REQ.RQ_REQ_ID <> 0 START WITH REQ.RQ_FATHER_ID = -1 CONNECT BY REQ.RQ_FATHER_ID = PRIOR REQ.RQ_REQ_ID order siblings by rq_order_id