"ORA-20001: Query Must Begin With Select Or With" While Executing a Script from APEX SQL Workshop (Doc ID 2112053.1)

Last updated on MARCH 02, 2016

Applies to:

Oracle Database Cloud Service - S5 - Version N/A and later
Oracle Application Express (formerly HTML DB) - Version 5.0.0.00.31 and later
Oracle Database Cloud Service - S20 - Version N/A and later
Oracle Database Cloud Service - S50 - Version N/A and later
Oracle Database as a Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

While attempting to execute the script that contains the following statement in SQL Workshop:

 

Changes

 APEX has been upgraded from an earlier version to 5.0.x.

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