update cdma_record_accum_new set account_type = '1' where account_type='0' AND rowid in
(select a.rowid from cdma_record_accum_new a, sett_cycle s where
s.sett_cycle_id=a.account and s.cycle_end_date < sysdate
)
(select a.rowid from cdma_record_accum_new a, sett_cycle s where
s.sett_cycle_id=a.account and s.cycle_end_date < sysdate
)
解决方案 »
- PLSQL Developer登录后总是显示程序无响应
- 关于分区的小问题
- Oracle Berkeley DB 使用期间发生错误 请问如何解决 谢谢大家
- 求一个关于分组计算的SQL语句,小弟没多少分,在线等,希望朋友们解围,多谢
- 动态执行SQL的问题
- 谁能帮我看看这个问题.急!!
- 字符串的问题
- oracle的函数new_time()里面有多少个时区和标志各是什么?
- 特急求救:用pro*c编译成.c文件后,加入VC中,可以编译通过,但链接时提示“无法解析的外部符号 sqlcxt”!该怎么解决?(.net环境)
- (Oracle)ORA-12528: TNS: 监听程序: 所有适用例程都无法建立新连接
- 我现在不能放分了,但我还想问,请大家谅解!
- 简单问题,如何将数据库文件重定向?
where exists
(select * from cdma_record_accum_new a, sett_cycle s where
s.sett_cycle_id=a.account and s.cycle_end_date < sysdate and
a.account_type='0' and AA.rowid=a.rowid)
a.account_type='0' and
exists(
select a.rowid from cdma_record_accum_new a, sett_cycle s
where
s.sett_cycle_id=a.account
and s.cycle_end_date < sysdate
and x.rowID=a.RowID
)