Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find DOW in SQL Server?
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01687856
Message ID:
01687860
Vues:
20
>>Hi,
>>
>>I want to specify in the SQL Select that Day of the Week in Monday. I know that in VFP it would be the function DOW().
>>That is, in VFP I would use
>>
>>where DOW(date_field) = 2
>>
>>What function could I use in SQL Server?
>>
>>TIA
>
>SET DATEFIRST = 1
>
>Check my answer to your previous question.

I realized after I posted this question that I do not need to use WHERE and the Day_of_The_Week. All the Date Fields (in my SQL Select) must fall on Monday of the week. That is, I should not have the value of any day but Monday.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform