SELECT SEB010T.RCPT_SHT_NO, SEB010T.COLET_DT, SEB010T.CRNC_UNIT, SEB010T.COLET_AMT, SEB010T.PRE_BALN_AMT , SEB020T.REL_NO , SEB010T.CRNC_UNIT, SEB010T.EXCHG_RATE, SEB020T.SALE_TYPE FROM SEB010T(NOLOCK) , SEB020T(NOLOCK) WHERE ( SEB010T.ORG_CD = SEB020T.ORG_CD ) AND ( SEB010T.RCPT_SHT_NO = SEB020T.RCPT_SHT_NO ) AND ( SEB010T.ORG_CD = '11' ) AND ( SEB010T.COLET_DT <= '2008-08-31' ) AND ( SEB010T.COLET_CUST_CD = 'sdb0368 ' ) and ( seb010t.pre_colet_flag = 'Y' ) and ( SEB010T.PRE_BALN_AMT > 0 ) |
update seb010t
set colet_amt = 121334, colet_amt_won = 121334, pre_baln_amt = 100000 , pre_colet_flag = 'Y' , pre_colet_amt_won = 121334 where rcpt_sht_no = 'USCL00004748' |