buffer.append(" with date_info as(");
buffer.append(" select to_date('"+param.get("BEGIN_TIME")+"','yyyy-mm-dd') as start_date,");
buffer.append(" to_date('"+param.get("END_TIME")+"','yyyy-mm-dd')-to_date('"+param.get("BEGIN_TIME")+"','yyyy-mm-dd')+1 as dt");
buffer.append(" from dual),");
buffer.append(" date_group as(");
buffer.append(" select start_date+(level-1) as start_date,");
buffer.append(" start_date+level as end_date");
buffer.append(" from date_info connect by level<=date_info.dt");
buffer.append(" ),");

相关文章:

  • 2022-12-23
  • 2021-10-07
  • 2022-12-23
  • 2021-11-14
猜你喜欢
  • 2022-12-23
  • 2021-11-14
  • 2021-10-07
  • 2021-10-17
  • 2022-01-10
相关资源
相似解决方案