aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

PLS-00486: select list cannot be enclosed in parentheses

PLS-00486: select list cannot be enclosed in parentheses
Cause: 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.
Action: Remove the parentheses enclosing the select list.

请先 登录 后评论

1 个回答

小智
PLS-00486:选择列表不能括在括号中,
.原因:在SELECT语句中,选择列表包含在括号中,如下所示:SELECT(deptno,dname,loc)FROM dept INTO ...这打破了SQL语法的规则。括号不是必需的,因为关键字SELECT和FROM分隔选择列表。,
.操作:删除包围选择列表的括号。,
.
请先 登录 后评论