PL/SQL beautification cannot parse text

Source: Internet
Author: User

1. Problem: PL/SQL beautification cannot parse text

The original SQL statements are as follows:

CREATE OR REPLACE VIEW V_GGXZBM as

SELECT Xzbm,xzmc,case when PARENTXZBM was NULL then ' 320000 ' ELSE parentxzbm END parentxzbm,pxxh from SYS_XZBMB WHERE issh ow= ' 1 '

UNION SELECT ' 320000 ' xzbm, ' All ' xzmc, ' parentxzbm,0 pxxh from DUAL;

Click on the beautification device does not respond, the status bar shows:

PL/SQL beautification cannot parse text or

PL/SQL Beautifier could not parse text

Comment out the first line of statements and click the PL/SQL beautification

--create OR REPLACE VIEW V_GGXZBM as

SELECT XZBM,

XZMC,

Case

When PARENTXZBM was NULL then

' 320000 '

ELSE

Parentxzbm

END PARENTXZBM,

Pxxh

From SYS_XZBMB

WHERE isshow = ' 1 '

UNION

SELECT ' 320000 ' XZBM,

' All ' XZMC,

"PARENTXZBM,

0 Pxxh

From DUAL;

The reason is that the beautification can only beautify the SQL statement.

2. Use the attention point of the beautification device

No statement is full window beautification, select the statement to beautify the selected content

PL/SQL beautification cannot parse text

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.