12,5,1 had some flakey behavior around the derived table syntax. For example, a derived table with a GROUP BY ("td" in your case) will not work in an SELECT statement that uses the UNION operator. You seem to have uncovered yet another bug with derived tables with GROUP BY operators. Unfortunately, you are stuck. The solution is to patch up to 12.5.3 or, even better, 12.5.4
You really want to be on 12.5.3 or 12.5.4 if you can get there. This is just one example of why, not to mention that you are flying naked with no support at this point. If you are doing monetary processing, you really should be on a supported version of your critical software products.
Regards,
Bill
Main Topics
Browse All Topics





by: itkamarajPosted on 2009-07-02 at 00:34:28ID: 24761112
Hi,
g and td.something2 between c.something4StartRange and c.something4EndRange
In you sub query
you are misisng the table alias for the td. You are using td.something_cd (but you didnt define the table name)
select 1 from zzzzzz c where td.something_cd=c.somethin