Oracle PLS-00363: expression #39;#39; cannot be used as an assignment target(Oracle PLS-00363: 表达式 不能用作赋值目标)
问题描述
你好,不知道为什么我会收到这个错误.基本上我在这三行中得到它:
Hello not sure why Im getting this error. Basically I get it in these three lines:
PLS-00363: expression 'p_temp_foo.editable.modified_by' cannot be used as an assignment target
PLS-00363: expression 'p_temp_foo.editable.date' cannot be used as an assignment target
PLS-00363: expression 'p_temp_foo.editable.modified_by' cannot be used as an assignment target
程序:
PROCEDURE run_temp_procedure (p_temp_foo IN part_bean, p_member_number IN NUMBER)
IS
t_temp_foo part_bean;
now DATE;
BEGIN
now := SYSDATE;
p_temp_foo.editable:= t_temp_foo.editable;
p_temp_foo.editable.date := SYSDATE;
p_temp_foo.editable.modified_by := p_member_number;
END run_temp_procedure ;
推荐答案
p_temp_foo 是一个 IN 参数.本质上,这些是只读的.您可以将其定义为 IN OUT 参数或 OUT 参数.
p_temp_foo is an IN parameter. By nature, these are read only. You could define it as an IN OUT parameter, or an OUT parameter.
有关更多信息,请参见此处:http://plsql-tutorial.com/plsql-passing-parameters-procedure-function.htm
For more info see here: http://plsql-tutorial.com/plsql-passing-parameters-procedure-function.htm
这篇关于Oracle PLS-00363: 表达式 '' 不能用作赋值目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Oracle PLS-00363: 表达式 '' 不能用作赋值目标
基础教程推荐
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- 带更新的 sqlite CTE 2022-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
