update tb_xdata_ord a
set a.dept_cd = (select xman_dept_cd from tb_xdata_alloc
where appr_no = a.appr_no
and ord_no = a.ord_no
and gubun = '1')
where a.audit_stdt >= '20130101'
and a.org_cd = '02'
and a.dept_cd = '7001'
이라고 update 하고 싶은데요... 제가 informix 는 첨이라... inline 뷰가 안되는 건지...
다른 방법은 어떤게 있을까요???
|