Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use dates in WHERE in SQL Server
Message
From
10/06/2008 16:49:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/06/2008 13:47:01
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01322704
Message ID:
01322928
Views:
18
>This one works
>
>
>SELECT COUNT(*)
>FROM [dbo].[log]
>WHERE action = 'THIS' AND log_date_time BETWEEN
>    '2008/01/01' AND '2008/03/31'
>
>
I didn't say it wouldn't. I said it is not the right way to do that.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform