DATE lookup table (1990/01/01:2041/12/31)

前端 未结 4 1829
抹茶落季
抹茶落季 2021-01-23 23:17

I use a DATE\'s master table for looking up dates and other values in order to control several events, intervals and calculations within my app. It has rows for every single day

4条回答
  •  无人共我
    2021-01-23 23:35

    The cool way of generating a rowset of dates in Oracle is to use the hierarchical query functionality, connect by. I have posted an example of this usage in another thread.

    It gives a lot of flexibility without the PL/SQL overhead of a pipelined function.

提交回复
热议问题