Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A SQL puzzle
Message
De
17/09/2016 13:47:54
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Divers
Thread ID:
01640994
Message ID:
01641010
Vues:
47
>The standard way to solve such puzzles is to have Calendar and Numbers tables in the database. If you have such tables, then the solution becomes trivial
>

I've been slapping my head after reading the first set of responses - because I put a Date Dimension or even a basic date master (with date, weekend date, month, season definitions, etc.) in every database. Didn't occur to me to utilize it for this. (Slaps head)

Thanks everybody...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform