Creating a calendar CTE ('or table) automaticaly #1992
-
Hi everybody,
But in the calendar CTE, the VALUE is not usable. Thanks a lot for your help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @fdecourt The reason why you are experiencing these difficulties, is because AlaSql doesnt support all the traditional feature of Nosql database, Here possible solution specific to your use case: |
Beta Was this translation helpful? Give feedback.
Hey @fdecourt
The reason why you are experiencing these difficulties, is because AlaSql doesnt support all the traditional feature of Nosql database, Here possible solution specific to your use case:
convert each integer into a date by adding it to the base date (2022-01-01) using JavaScript's new Date() function within the SQL query.
Format the resulting date as a string in the desired format (YYYY-MM-DD).