Chinaunix

标题: 【咨询】请问以下什么区别 [打印本页]

作者: jonish    时间: 2012-12-14 14:56
标题: 【咨询】请问以下什么区别
left join dwhods.t_o_cbs_cbesubscriberdyn b
         on a.subscriberkey = b.subscriberkey
      and b.data_day = a.data_day
    where a.data_day = ' || v_data_day || '';

和这个
left join dwhods.t_o_cbs_cbesubscriberdyn b
                                 on a.subscriberkey = b.subscriberkey
                                and b.data_day = a.data_day
                              where a.data_day = ''' || v_data_day || '''';

区别是什么?






欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2