请问大神,oracle事务处理多条sql语句在PHP中,要怎样写呢?
答案:2 悬赏:10 手机版
解决时间 2021-01-15 13:33
- 提问者网友:雾里闻花香
- 2021-01-15 04:35
最好能给个格式参考下
最佳答案
- 五星知识达人网友:胯下狙击手
- 2019-02-16 07:03
建议你用存储过程,就能简单处理了,
全部回答
- 1楼网友:一把行者刀
- 2020-06-24 00:53
把in改为inner join
select s.fzjghfddjxh,n.nsrsbh,n.shxydm,s.djxh,b.nsrsbh as zjgnsrsbh,
b.shxydm as zjgshxydm,b.nsrmc as zjgnsrmc,b.zgswj_dm as zjgzgswj_dm
from dj_fzjgxx s
inner join
(
select t.fzjghfddjxh from dj_fzjgxx t where t.djxh = ? and t.fzjghfddjxh != 0 and t.yxqz >= t.yxqq
) t on s.fzjghfddjxh=t.fzjghfddjxh
inner join dj_nsrxx n on s.fzjghfddjxh = n.djxh
inner join dj_nsrxx b and s.djxh = b.djxh
where s.djxh != ?
and s.fzjghfddjxh != 0
and n.yxbz = 'y'
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯