aiaiDBA

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

13718043309

010-86462881

PLS-00401: different column types between cursor SELECT statement and return value found at 'string'

PLS-00401: different column types between cursor SELECT statement and return value found at 'string'
Cause: In a cursor declaration, a return type (such as RETURN emp%ROWTYPE) was specified, but a returned column value and its corresponding select-list item have different datatypes.
Action: Change the cursor return type or the select list so that each returned column value and its corresponding select-list item have the same datatype.

请先 登录 后评论

1 个回答

小智
PLS-00401:游标SELECT语句和返回值之间的不同列类型在' string ',
.原因:在游标声明中,指定了返回类型(例如RETURN emp%ROWTYPE),但返回的列值及其相应的选择列表项具有不同的数据类型。,
.操作:更改游标返回类型或选择列表,使每个返回的列值及其相应的选择列表项具有相同的数据类型。,
.
请先 登录 后评论