Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select day numbers falling within a range of dates
Message
 
 
À
17/05/2017 18:58:10
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01651175
Message ID:
01651176
Vues:
54
>I'd like to select all rows from a table containing the column daynumber(int) (Sunday = 1) for a range of dates
>
>Any ideas?

Can you clarify your table structure? The simplest way to solve your problem would be to have Calendar table in your database.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform