talk-data.com talk-data.com

Event

SQL Friday #138 - Calendar Tables and Why You Should Use Them - Ed Pollack

2024-04-19 – 2024-04-19 Meetup Visit website ↗

Activities tracked

0

Please note, this event is live streamed to YouTube. You can also connect with Teams, if you RSVP. YouTube link is available without registration and will be found on https://youtube.com/c/transmokopter/streams

There is a common need in analytics and reporting to aggregate data based on date attributes. These may include weekdays, holidays, quarters, or specific times of the year. Crunching these metrics on-the-fly can be slow and inefficient.

Calendar tables allow the complex conversions, definitions, and date-related metadata to be calculated ahead of time and stored in a static, reliable structure. We can then use this table to avoid the need to perform any date math on the fly. This not only saves time and computing resources, but also allows more complex analytics to be performed that would otherwise be very challenging. Equally important, code becomes more maintainable as date calculations are performed once in a single location, rather than repeatedly throughout an application.

This session speeds through the design, implementation, and use of calendar tables, providing demos along the way of their creation and use.

Sessions & talks

Showing 1–0 of 0 · Newest first

Search within this event →

No individual activities are attached to this event yet.