如果union all太多的话,建议使用
存储过程,建立一张
临时表来存放结果集,
每一个union all后的select 语句单独执行插入到此临时表
摘自:
http://topic.csdn.net/u/20091218/15/01301c9b-adda-4602-b0a8-8160738a5980.html
http://zhidao.baidu.com/question/152805488.html
union all 效率问题
猜你喜欢
转载自jackleechina.iteye.com/blog/1647322
今日推荐
周排行