语法没有错误,主要是写的比较混淆:CURSOR cbdd is ... -- 你声明了 cbdd
OPEN cbbd; -- 但引用的 cbbd建议你写成 schema.object.field格式作个测试,容易判断
OPEN cbbd; -- 但引用的 cbbd建议你写成 schema.object.field格式作个测试,容易判断
解决方案 »
- 重装系统后恢复oracle 10g
- pl/sql试图不能加注释?
- windows下通过ie访问不到linux环境下的oracle em
- 在oracle环境下发生的脚本错误.
- 一个比较弱的问题,oracle的字符集和数据库的字符集有关系么?
- 深圳软件项目求高手合作(做查询Oracle数据的网站)
- 关于数据类型!!!!
- Oracle的触发器对性能影响大不大?
- 求教,我装了ORACLE9I了啊。但是找不到PL/SQL的帮助啊。
- oracle816:在启动OracleoraHomeManagementServer时提示:在本地计算机无法启动OracleoraHomeManagementServer服务。错误997:重叠I/O操作
- 这个SQL语句怎么写(关于树型查询)?
- 高手留步,百思不得其解!!!!!!!!!!!!
ERROR at line 2:
ORA-06550: line 2, column 9:
PLS-00201: identifier 'DDMX4_ZDDM' must be declared
ORA-06550: line 2, column 9:
PL/SQL: Item ignored
ORA-06550: line 3, column 7:
PLS-00201: identifier 'DDMX4_DH' must be declared
ORA-06550: line 3, column 7:
PL/SQL: Item ignored
ORA-06550: line 4, column 9:
PLS-00201: identifier 'DDMX4_BDDH' must be declared
ORA-06550: line 4, column 9:
PL/SQL: Item ignored
ORA-06550: line 17, column 22:
PLS-00320: the declaration of the type of this expression is incomplete or
malformed
ORA-06550: line 17, column 6:
PL/SQL: SQL Statement ignored
ORA-06550: line 19, column 36:
PLS-00201: identifier 'FSBMX' must be declared
ORA-06550: line 19, column 6:
PL/SQL: SQL Statement ignored
请大家帮帮继续看看
ERROR at line 19:
ORA-06550: line 19, column 36:
PLS-00201: identifier 'FSBMX' must be declared
ORA-06550: line 19, column 6:
PL/SQL: SQL Statement ignored
我写的这个过程,是在ddmx4中取得zddm这个字段,然后,根据 fsbmx表中的fsbmx_zddm与zddm判断,
如果能取得数据,修改字段值。
在这个过程中,fsbmx这个表,需要如何声明?
zddm ddmx4.ddmx4_zddm%type;
dh ddmx4.ddmx4_dh%type;
bddh ddmx4.ddmx4_bddh%type;
dh ddmx4_dh%type;
bddh ddmx4_bddh%type;
定义的有问题
应该指向的是表中的字段zddm
ddmx4.ddmx4_zddm%type;
dh ddmx4.ddmx4_dh%type;
bddh ddmx4.ddmx4_bddh%type;
yxxx(小孬)他写的是对的