• 请不要在回答技术问题时复制粘贴 AI 生成的内容
yuan434356430
V2EX  ›  程序员

请教下 oracle 按照月份分表查询问题

  •  
  •   yuan434356430 · May 13, 2020 · 1671 views
    This topic created in 2198 days ago, the information mentioned may be changed or developed.

    oracle 如何查询按月分表但没分区的数据,比如说有 user_01,user_02...user_12,查询 2 月 5 日到 5 月 13 日的数据。 同时因为使用 BI 工具进行查询,没法通过代码进行 sql 拼接,表的数量和查询的时间区间也会有变化,网上没有查到比较好的解决方案。 在此求助广大的 V 友~

    1 replies    2020-05-13 13:29:16 +08:00
    dog82
        1
    dog82  
       May 13, 2020
    建个视图就行
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1446 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 17:03 · PVG 01:03 · LAX 10:03 · JFK 13:03
    ♥ Do have faith in what you're doing.