增强日志记录:如何在过滤器中应用use_tss_with_cache?

时间:2018-09-07 18:42:35

标签: logging boost

我需要在Boost 1.60.0或更高版本上使用带有-- assuming primary key in lookup table is a number select subq.num,subq.matching_firstcode, (select codename from codes ci where ci.firstcode = subq.matching_firstcode) codename from ( select n.num, greatest( nvl(c8.firstcode,0), nvl(c7.firstcode,0), nvl(c6.firstcode,0), nvl(c5.firstcode,0), nvl(c4.firstcode,0), nvl(c3.firstcode,0), nvl(c2.firstcode,0), nvl(c1.firstcode,0) ) matching_firstcode from numbers n left outer join codes c1 on c1.firstcode = to_number(substr(to_char(n.num), 1, 1)) left outer join codes c2 on c2.firstcode = to_number(substr(to_char(n.num), 1, 2)) left outer join codes c3 on c3.firstcode = to_number(substr(to_char(n.num), 1, 3)) left outer join codes c4 on c4.firstcode = to_number(substr(to_char(n.num), 1, 4)) left outer join codes c5 on c5.firstcode = to_number(substr(to_char(n.num), 1, 5)) left outer join codes c6 on c6.firstcode = to_number(substr(to_char(n.num), 1, 6)) left outer join codes c7 on c7.firstcode = to_number(substr(to_char(n.num), 1, 7)) left outer join codes c8 on c8.firstcode = to_number(substr(to_char(n.num), 1, 8)) ) subq ; 的过滤器来设置logging::core

有人有示例代码吗?

0 个答案:

没有答案