rcs_his_rok.meterno = bs_book_cust.meterno and ,bs_book_cust 在哪?在另一个()里面.当然会出错.
解决方案 »
- orale sql 语句问题!!
- ADO访问oracle存储过程返回结果集在调用_CommandPtr的Execute函数时报异常
- 请那位仁兄提供个oracle下载帐户
- 非常不喜欢 Oracle 10G的 enterprise manager
- 怎样在java里面调用oracle里面的自定义数据类型
- 如何在大数据量下最有效率的修改某一字段
- 初始化CLOB字段在9i上没问题,但是在817上出错。
- 安装oracle 时 里面的 编辑配置参数 用户名 密码 等怎么填写
- 总是显示栏位的错误invalid column name,本来很简单的问题,却不能显示,大家来救命!在线等!!!
- C#下读取 UDL文件连接Oracle数据库的问题,请各位高手赏光,急!!!!
- Open Cursor的问题。急,在线等!
- oracle的访问问题;
update rcs_his_rok
set rcs_his_rok.cokflag = 'Y'where to_char(rcs_his_rok.readingdate, 'yyyymm') = '200507' and
to_char(rcs_his_rok.caldate, 'yyyymmdd') = '20050708'and
> rcs_his_rok.meterno = bs_book_cust.meterno and 这行去掉即可!
bs_book_cust.bookid = '10151' and
....
set rcs_his_rok.cokflag = 'Y'
where to_char(rcs_his_rok.readingdate, 'yyyymm') = '200507'
and to_char(rcs_his_rok.caldate, 'yyyymmdd') = '20050708'
and rcs_his_rok.meterno = bs_book_cust.meterno
and exists
(select 1
from rcs_his_rok , bs_book_cust
where to_char(rcs_his_rok.readingdate, 'yyyymm') = '200507'
and to_char(rcs_his_rok.caldate, 'yyyymmdd') = '20050711'
and rcs_his_rok.meterno = bs_book_cust.meterno
and rcs_his_rok.cokflag = 'Y'
and bs_book_cust.bookid = '10151'
);
----------------------->
回复人: licsth() ( ) 信誉:100 2005-07-14 18:13:00 得分: 0
update rcs_his_rok
set rcs_his_rok.cokflag = 'Y'where to_char(rcs_his_rok.readingdate, 'yyyymm') = '200507' and
to_char(rcs_his_rok.caldate, 'yyyymmdd') = '20050708'and
> rcs_his_rok.meterno = bs_book_cust.meterno and 这行去掉即可!
bs_book_cust.bookid = '10151' and
....