A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/1507 below:

[plsql] Parse Exception when using '||' operator in where clause · Issue #1507 · pmd/pmd · GitHub

Affects PMD Version: 6.10.0-SNAPSHOT

Description:

Code Sample demonstrating the issue:

DECLARE
BEGIN

SELECT *
  INTO x
  FROM y
  WHERE a = 'a' || 'b';

END;
/

Exception:

net.sourceforge.pmd.lang.plsql.ast.ParseException: Encountered " "||" "|| "" at line 7, column 17.
Was expecting one of:
    ";" ...
    "FETCH" ...
    "GROUP" ...
    "OFFSET" ...
    "ORDER" ...
    
	at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.generateParseException(PLSQLParser.java:53972)
	at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.jj_consume_token(PLSQLParser.java:53823)
	at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.UnlabelledStatement(PLSQLParser.java:15265)
	at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.Statement(PLSQLParser.java:15980)
	at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.Block(PLSQLParser.java:848)
	at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.Global(PLSQLParser.java:497)
	at net.sourceforge.pmd.lang.plsql.ast.PLSQLParser.Input(PLSQLParser.java:194)
	at net.sourceforge.pmd.lang.plsql.PLSQLParser.parse(PLSQLParser.java:49)
	at net.sourceforge.pmd.util.fxdesigner.model.ASTManager.updateIfChanged(ASTManager.java:93)
...

Running PMD through: Designer


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4