1.导入渠道对账索引
insert
into
  rec_sourceidx
  (
          trandt,transq,chnlcd,chnldt,chnlsq,chnlst,tranam,matched
  ) select
    (#trandtidx#,#transqidx#,#chnlcdidx#,#chnldtidx#,#chnlsqidx#,#chnlstidx#,#tranamidx#,'Y') 
  from
    #tablename#
  where
    #trandtidx#>=date_sub(#trandt#,interval #amplitude# day) and #trandtidx#<=date_add(#trandt#,interval #amplitude# day)
    and

              #chnlcdidx#=#chnlcd#;

相关文章:

  • 2021-11-27
  • 2022-12-23
  • 2021-12-24
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2021-10-19
  • 2021-12-17
相关资源
相似解决方案