This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
Shape the future of IBM!
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Search existing ideas
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updateson them if they matter to you. If you can't find what you are looking for,
Post your ideas
Post an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
Specific links you will want to bookmark for future use
Currently MERGE statements in DB2 for i do not support the use of CTEs inside the using clause.
Lately, I've come across the need for this funtionality several times when I had to update large amounts of records in our ERP with data gathered through complex queries (with 3 - 4 CTEs). Instead I either had to rewrite my queries with a lot of nesting levels (very tedious task) or create temporary tables and/or write programs to perform the MERGEs. It would have been much more efficient to reuse the SELECT statements with CTEs directly in the MERGEs.
Do not place IBM confidential, company confidential, or personal information into any field.