For help, Oracle update multiple subquery aliases are invalid

Source: Internet
Author: User
Tags aliases

Update Suzm. Tpms_bndfwdpreissue_ar F Set (F.sec_code,f.pd_tp_code,f.txn_tm,f.inr_inst_id,f.prtfl_code,
F.ccy_code,f.clrg_spd_code,f.txn_tp_code,f.sbj_mtr_scr_code,f.sbj_mtr_scr_mkt_tp_code,
F.sbj_mtr_scr_pd_tp_code,f.txn_cnter_p_no,f.txn_cnter_p_name,f.qtn_mode_code,f.stmp_tax,
F.tfr_fee,f.clrg_fee,f.txn_rglr_fee,f.bkr,f.scr_tdg_mgt_fee,f.othr_fee,f.uwrt_and_dstr_cmsn_fee,
F.uwrt_and_dstr_tail_cmsn_fee,f.cmsn_fee_tot_amt,f.bond_fwd_txn_ar_tp_code,f.bond_fwd_txn_ar_st_code,
F.tdg_ind,f.mtur_setl_dt,f.mtur_net_prc_prc,f.mtur_setl_mode_code,f.acr_int_amt,f.fwd_prc_apnt_term_bgn_net_ PRC,
F.fwd_prc_refr_int_rate_code,f.fwd_prc_int_rate_pd_tp_code,f.fwd_int_rate_mkt_tp_code,
F.fwd_prc_refr_sprd,f.fwd_prc_act_exec_int_rate,f.fwd_prc_desc,f.fwd_prc_refr_int_rate_dt,
F.fwd_prc_int_orig_dt,f.ivsr_pblc_bid_bgn_yld,f.bond_fwd_pndg_tp_code,f.par_tot_amt,
F.pndg_fwd_elmt_cfrm_dt,f.fc_exec_int_rate,f.fc_mtur_day,f.fc_mtur_net_prc,f.fc_mtur_acr_int_amt,
F.PNDG_FWD_REFR_INT_RATE_ORIG_DT) =
(SELECT
"--, Sec_code
, '--, Pd_tp_code
, '--, Txn_tm
, a.inr_inst_id
, E.prtfl_code--Combination code Prtfl_code
, A.ccy_code
, A.clrg_spd_code
, '--, Txn_tp_code
, '--, a.ulyg_scr_id--The underlying security code Sbj_mtr_scr_code
, '--, Sbj_mtr_scr_mkt_tp_code
, '--, Sbj_mtr_scr_pd_tp_code
, a.txn_cnter_p_id--counterparty number Txn_cnter_p_no
, 1.nm--counterparty name Txn_cnter_p_name
, '--, Qtn_mode_code
, '--, stmp_tax
, '--, Tfr_fee
, '--, Clrg_fee
, '--, Txn_rglr_fee
, '--, BKR
, '--, Scr_tdg_mgt_fee
, '--, Othr_fee
, '--, Uwrt_and_dstr_cmsn_fee
, '--, Uwrt_and_dstr_tail_cmsn_fee
, '--, Cmsn_fee_tot_amt
, A.bond_fwd_txn_ar_tp_code
, A.bond_fwd_txn_ar_st_code
, A.tdg_drc_code--, Tdg_ind
, A.mtur_setl_dt
, A.MTUR_NET_PRC_PRC
, A.mtur_setl_mode_code
, A.tot_acr_int_amt--Accrued interest amount Tot_acr_int_amt
, A.FWD_PRC_APNT_TERM_BGN_NET_PRC
, substr (A.fwd_prc_refr_int_rate_imt_id,4,length (a.fwd_prc_refr_int_rate_imt_id))--fwd_prc_refr_int_rate_ Code forward price reference interest rate codes
, '--, Fwd_prc_int_rate_pd_tp_code
, '--, Fwd_int_rate_mkt_tp_code
, A.FWD_PRC_REFR_SPRD
, A.fwd_prc_act_exec_int_rate
, A.fwd_prc_desc
, A.fwd_prc_refr_int_rate_dt
, A.fwd_prc_int_orig_dt
, A.ivsr_pblc_bid_bgn_yld
, A.bond_fwd_pndg_tp_code
, A.par_val_tot_amt--Total coupon Par_tot_amt
, a.pndg_fwd_refr_int_rate_orig_dt--the pending forward factor date Pndg_fwd_elmt_cfrm_dt
, A.fc_exec_int_rate
, A.fc_mtur_day
, A.FC_MTUR_NET_PRC
, A.fc_mtur_acr_int_amt
, A.pndg_fwd_refr_int_rate_orig_dt
From CS_EDM. T_bond_fwd_txn_ar A
Left join CS_EDM. T_inr_inst_cptl_ac_ar b
On a.inr_inst_cptl_ac_ar_id=b.inr_inst_cptl_ac_ar_id
Left join CS_EDM. T_inr_inst_scr_ac_ar C
On a.inr_inst_scr_ac_ar_id =c.inr_inst_scr_ac_ar_id
Left JOIN Cs_edm.t_ivs_stra D
On a.ivs_stra_id=d.ivs_stra_id
Left join CS_EDM. T_SELF_SPRT_IVS_PRTFL E
On a.prtfl_id=e.prtfl_id
Left JOIN Cs_edm.t_txn_cnter_p E1
On a.txn_cnter_p_id=f.tx_cntprty_id
where a.ar_no| | a.bsn_src_stm_code| | b.cptl_ac_no| | c.scr_ac_no| | d.stra_no| | A.mkt_tp_code
= f.ar_no| | f.system_id| | f.inr_inst_cptl_ac_no| | f.inr_inst_scr_ac_no| | f.stra_no| | F.mkt_tp_code
)
where f.ar_no| | f.system_id| | f.inr_inst_cptl_ac_no| | f.inr_inst_scr_ac_no| | f.stra_no| | F.mkt_tp_code
In (select A.ar_no| | a.bsn_src_stm_code| | b.cptl_ac_no| | c.scr_ac_no| | d.stra_no| | A.mkt_tp_code
From CS_EDM. T_bond_fwd_txn_ar A
Left join CS_EDM. T_inr_inst_cptl_ac_ar b
On a.inr_inst_cptl_ac_ar_id=b.inr_inst_cptl_ac_ar_id
Left join CS_EDM. T_inr_inst_scr_ac_ar C
On a.inr_inst_scr_ac_ar_id =c.inr_inst_scr_ac_ar_id
Left JOIN Cs_edm.t_ivs_stra D
On a.ivs_stra_id=d.ivs_stra_id)
;

For help, Oracle update multiple subquery aliases are invalid

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.