文档首页 > > 工具指南> Migration Tool SQL语法迁移工具> Oracle(Beta)语法迁移> 嵌套注释

嵌套注释

分享
更新时间: 2019/08/09 GMT+08:00

输入

/*** INSERT INTO tmp_m(ori_carid,carid)
   select /*+ parallel(c,4) *//**
      m.ori_carid, max(c.carid) carid
       from tmp_mcar m, mc_t_basecarinfo c 
      where m.frameno = c.frameno
        and m.licenseno = c.licenseno
        and m.comid = c.comid
        AND EXISTS(SELECT 1 FROM TMP_RT_T_FCRA_B d 
                   WHERE c.carid = d.carid and c.custid = d.custid and c.comid = d.comid and d.enddate >= v_startDate  and d.enddate < v_endDate )      
        and c.validstatus = '1'
        and c.systemflag = '1'
      group by m.ori_carid;   ******/

输出

/*** INSERT INTO tmp_m(ori_carid,carid)
   select /*+ parallel(c,4) *//**
      m.ori_carid, max(c.carid) carid
       from tmp_mcar m, mc_t_basecarinfo c 
      where m.frameno = c.frameno
        and m.licenseno = c.licenseno
        and m.comid = c.comid
        AND EXISTS(SELECT 1 FROM TMP_RT_T_FCRA_B d 
                   WHERE c.carid = d.carid and c.custid = d.custid and c.comid = d.comid and d.enddate >= v_startDate  and d.enddate < v_endDate )      
        and c.validstatus = '1'
        and c.systemflag = '1'
      group by m.ori_carid;   ******/*/
分享:

    相关文档

    相关产品

文档是否有解决您的问题?

提交成功!

非常感谢您的反馈,我们会继续努力做到更好!

反馈提交失败,请稍后再试!

*必选

请至少选择或填写一项反馈信息

字符长度不能超过200

提交反馈 取消

如您有其它疑问,您也可以通过华为云社区问答频道来与我们联系探讨

跳转到云社区