How to fix the Oracle error PLS-00486: select list cannot be enclosed in parentheses?

In this post, you’ll learn more about the Oracle ErrorPLS-00486: select list cannot be enclosed in parentheses with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00486: select list cannot be enclosed in parentheses

Reason for the Error PLS-00486: select list cannot be enclosed in parentheses

In a SELECT statement, the select list was enclosed in parentheses, as in: SELECT (deptno, dname, loc) FROM dept INTO … This breaks the rules of SQL syntax. Parentheses are not required because the keywords SELECT and FROM delimit the select list.

How to fix the Error PLS-00486: select list cannot be enclosed in parentheses ?

You can fix this error in Oracle by following the below steps

Remove the parentheses enclosing the select list.

Tags :

Leave Your Comment