Last updated on OCTOBER 09, 2016
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Information in this document applies to any platform.
***Checked for relevance on 10-Oct-2016***
After setting _COMPLEX_VIEW_MERGING=FALSE the following sample SQL statement which does not contain any views fails with "ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc".
from tab1 t1
inner join tab2 t2
on t1.key_col = t2.key_col
left outer join tab3 t3
on t1.key_col = t3.key_col
order by t1.key_col
for update of t1.data_col nowait;
ERROR at line 1:
ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms