aiaiDBA

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

13718043309

010-86462881

PLS-00395: wrong number of values in VALUES clause of INSERT statement

PLS-00395: wrong number of values in VALUES clause of INSERT statement
Cause: The number of columns in an INSERT statement does not match the number of values in the VALUES clause. For example, the following statement is faulty because no column is specified for the value 20: INSERT INTO emp (empno, ename) VALUES (7788, 'SCOTT', 20);
Action: Change the number of items in the column list or the number of items in the VALUES list so that the numbers match.

请先 登录 后评论

1 个回答

小智
PLS-00395:INSERT语句VALUES子句中的值错误,
.原因: INSERT语句中的列数与VALUES子句中的值数不匹配。例如,以下语句是错误的,因为没有为值20指定列:INSERT INTO emp(empno,ename)VALUES(7788,'SCOTT',20);,
.操作:更改列列表中的项目数或VALUES列表中的项目数,以使数字匹配。,
.
请先 登录 后评论