Analysis of Methods for Solving Error Reporting ora-32035

Source: Internet
Author: User

Ora-32035 error reported
If the with clause is defined and is not used in a query, A ora-32035 error is reported: the query name defined in the with clause is not referenced. (At least one with query name is not referenced. The solution is to remove the with query that is not referenced ),Note:As long as there is a reference behind it, it is not necessary to reference it in the primary query. For example, it is also possible to reference it in the with query.

Example:
Copy codeThe Code is as follows:
With q1 as (select 0 + 1 num1 from dual), q2 as (select 1 + 1 num2 from dual), q3 as (select 2 + 1 num3 from dual)
Select * from q1
Union
Select * from q3
Union
Select * from q2;

When q1, q2, and q3 are defined, they must be referenced later, not necessarily in the primary query.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.