I'd like to create a table with all the days of a year using HQL. I already tried this approach :
but the hql is a bit different from sql
What's the best approach?
Using the PL/HQL or using bash script and importing ?
Expected result:
start_date = 2017-02-14;
| date |
|2017-02-14|
|2017-02-13|
|2017-02-12|
|2017-02-11|
|2017-02-10|
|2017-02-09|
|2017-02-08|
|2017-02-07|
....
Thanks