Ora-01762: Vopdrv: View Query Block Not In From (Doc ID 1087985.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.7 and later
Information in this document applies to any platform.

Symptoms

Encountered the error:  ORA-01762: vopdrv: view query block not in FROM

Sample query :

SQL>
WITH BESTEMMINGEN AS (
SELECT ROWNUM, 'A', 1
FROM DUAL DL1
JOIN DUAL DL2 ON SYSDATE = SYSDATE
ORDER BY 2)
SELECT 1
FROM DUAL


this bug manifests when a complex query containing WITH clause fails with ORA-1762 following the upgrade to 11g.
 

Changes

Recently upgraded the database version to 11.1.0.7.0.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms