(SELECT     SUBSTR (MAX (SYS_CONNECT_BY_PATH (instance_number, ',')), 2)
        FROM       (SELECT ool.line_id, instance_number,
                           ROW_NUMBER () OVER (PARTITION BY line_id ORDER BY instance_number) rn
                    FROM   csi_item_instances csi,
                           oe_order_lines_all ool
                    WHERE  ool.line_id = oola.line_id
                    AND    ool.line_id = csi.last_oe_order_line_id
                    AND    ool.inventory_item_id = csi.inventory_item_id
                    AND    TRUNC (SYSDATE) BETWEEN TRUNC (active_start_date)
                                               AND TRUNC
                                                        (NVL (active_end_date,
                                                              SYSDATE
                                                             )
                                                        ))
        START WITH rn = 1
        CONNECT BY PRIOR rn = rn - 1 AND PRIOR line_id = line_id) "IB Instance #",
🔹 Join the OracleApps88 Telegram Group - Stay up to date with the latest on Oracle EBS R12 and Oracle Cloud/Fusion Applications. 📌 Telegram Group : https://t.me/OracleApps88
💡 Facing issues copying code/scripts or viewing posts? We're here to help!
📬 Contact on Telegram : https://t.me/apps88
📱 Telegram/WhatsApp: +91 905 957 4321
📧 Email Support: OracleApp88@Yahoo.com
Wednesday, June 22, 2011
Displaying column values in Row Query
Subscribe to:
Post Comments (Atom)
If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.
 

 
 Get Flower Effect
Get Flower Effect
No comments:
Post a Comment